I am told that Firefox Nightly now allows you to use keyboard shortcuts to seek the video. Part of the problem here is that there are some sites that have special logic around seeking, so having playback controls on the PiP popup can cause the original page's custom controls to get confused or out of sync.
That would be great. My main use-case is watching youtube videos.
When watching a video, I often pause (space) to have a better look at what's on the screen [-> rewind (left)] -> play (space)
I absolutely loathe youtube's "suggested videos" that pop in my face when I try to focus on a specific frame. I never used that feature, it's just a way to shove ads in my face. Moreover, if I close it, the open/close button is now focused, and space brings it up again instead of resuming the video. This is tedious.
I thought that PiP would solve that, but it looks like I cannot pause the video with space if I haven't clicked the pause button already, and I can't seek.
I often just revert to pasting the URL for mpv to open it after getting frustrated and losing my time with both other methods.
Suggested videos can be ‘disabled’ with rules in uBlock Origin or other extensions. I'm not at the desktop so you'll have to search the web for the exact element classes/ids.
Are you sure Youtube's keyboard shortcut for pause is "Space" for you? For me it's K, with J being jump backward a few seconds and L being jump forward a few seconds. I don't know if the media buttons (Pause, Rewind, Fast Forward) would also work as this keyboard pre-dates Windows 95 so it doesn't have anything like that. [ Yes I should buy a new keyboard... ]
Thank you, I hadn't realized there were separate keyboard shortcuts, even though the one for pause is indicated on hover.
Even though space conflicts with toggling the currently selected item (tab/space), it is the more common shortcut in video player applications, and is quite easy to reach. I also think that mouse clicking an element shouldn't change the keyboard selection to that one.
Not sure how those media control are interpreted, I think I usually set them to control the MPRIS interface, so they would at the very least work on KDE with plasma browser integration.
You can use stylish to remove the suggested popup div, if there's any interest I will put up a gist somewhere. I also wrote some custom CSS to center the controls rather than have them spread across my ultra-wide monitor. Huge quality of life improvement if you watch a lot of yt.