Describe the bug
I can no longer customize the keyboard shortcuts in the AutoPause's add-on options.
Selecting one of the text fields in the "Shortcuts" section will allow me to type in the text field, but this won't actually set a keyboard shortcut.
To Reproduce
Go to 'about:addons' > 'Manage Your Extensions' > 'AutoPause' > '...' > 'Options'.
Select one of the text fields in the "Shortcuts" section and try to customize a keyboard shortcut.
I think I may either not fully understand how to use it, though. Or maybe what I'm trying to achieve isn't possible?
Here's what I'm trying to achieve:
2 Firefox windows are open: Window A and Window B.
Window A has two media tabs loaded: Tab A1 and Tab A2. I want AutoPause to make sure that only one of these is currently playing.
(Both of them are Picarto streams in my particular use case, if it matters.)
While Window A is showing, I want to be able to switch to Window B without the media currently playing in Window A to pause.
In other words, I want to see both windows side-by-side, and have interaction with Window B not interfere with the playing of media in Window A.
Is this possible? When I have the "Pause media on tab change (...)" setting enabled and I switch from Window A to Window B, the media in Window A will pause playback, which I don't want. With the setting disabled, playback in Tab A1 will not pause when I switch to Tab A2 in Window A (as far as I can tell).
Firefox currently sets document.visibilityState to true when PiP is enabled in that tab.
The spec says this should be using document.pictureInPictureElement in every frame but thats not supported yet :(
When I open multiple tabs with media playing, a queue of paused media is formed. Sometimes this is very convenient, but if there are too many paused media, it can be difficult to pause them all.
I suggest adding a hotkey to pause all media (i.e. to clear the queue and stop the playing media)
I would also suggest adding a limit to the queue size. The oldest media that exceed the limit will be stopped permanently without automatic continuation.
listening to wrif.com , switch tabs to youtube and they both play .. watching USTVGO , change tabs to another USTVGO and both play .. i love the idea of this addon and hope you can get it working across the board! thanks and have a great day!