搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Picture-in-picture keyboard controls not working properly

  • 1 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 zeroknight

more options

As far as I know there are quite a few keyboard shortcuts one can use in picture-in-picture mode. However, they don't always work for me. Most notably, spacebar often toggles the last thing I clicked in picture-in-picture mode. For example, I enter full screen mode and press spacebar to play the video, but instead it exits the full screen. Or I click on one of the "rewind" buttons, after which spacebar adopts the function of that button until I manually click play. For some reason, the arrow keys also don't always work. I suspect it's the problem of the same origin.

I also feel the need to say that this behavior is not limited to picture-in-picture. This is similar to what happens in almost all video players online and, possibly, some of the offline ones as well. I have also checked a few forums (VLC development thread and Stack Overflow) and it seems to be a common issue across many video players.

Still, if anyone knows any way to deal with this problem in Firefox picture-in-picture as a user, I would greatly appreciate it, as it interferes with multitasking a lot more than on any other players.

As far as I know there are quite a few keyboard shortcuts one can use in picture-in-picture mode. However, they don't always work for me. Most notably, spacebar often toggles the last thing I clicked in picture-in-picture mode. For example, I enter full screen mode and press spacebar to play the video, but instead it exits the full screen. Or I click on one of the "rewind" buttons, after which spacebar adopts the function of that button until I manually click play. For some reason, the arrow keys also don't always work. I suspect it's the problem of the same origin. I also feel the need to say that this behavior is not limited to picture-in-picture. This is similar to what happens in almost all video players online and, possibly, some of the offline ones as well. I have also checked a few forums (VLC development thread and Stack Overflow) and it seems to be a common issue across many video players. Still, if anyone knows any way to deal with this problem in Firefox picture-in-picture as a user, I would greatly appreciate it, as it interferes with multitasking a lot more than on any other players.

所有回复 (1)

more options

Spacebar primarily toggles the currently focused control like you have discovered, it is not a reliable play/pause switch. The PiP window needs to be focused for keyboard input to be recognized, this is most likely why shortcuts don't always work.

Dedicated media keys are preferable for playback control while multi-tasking. If your keyboard doesn't have any, you can assign the same functions to any button/combination with software like AutoHotkey.

Media keys shortcuts for AutoHotkey