Test switching application state when <video> is not allowed to play in background.