media-controller-extension
media-controller-extension copied to clipboard
Controller buttons dont always appear with youtube videos
Sometimes the controls buttons dont appear when listening to youtube videos.
Firefox 123.0 (64-bit) Mac Os Sonoma
This is a known issue. The controls are hidden if the extension cannot find the corresponding media element from DOM. Possibly due to the tab having been discarded and reactivated before.
Yes, I also had this now. Just installed the add-on to see how it works. I was puzzled about that (/) button and observed strange behaviour after clicking it. I had to close the tab and reopen, then reload it again to get YouTube playback controls back.
In the source code I finally found out that it unloads the tab without closing it. A tooltip on the buttons would have been nice.
I notice this on other sites, too. I suspect it is because they use iframes. Finding the video (or audio) element that is playing is a bit more cumbersome when you need to deal with iframes. You have to have it where the injected code runs in the iframe, but then communicates back with the extension.