Bug 428871 - Next / previous media controls stopped working with Youtube playlists
Summary: Next / previous media controls stopped working with Youtube playlists
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: Firefox (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-09 06:53 UTC by Shmerl
Modified: 2025-05-11 13:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shmerl 2020-11-09 06:53:32 UTC
Plasma browser integration used to work nicely with Firefox for controlling Youtube playlists with next / previous buttons switching the tracks.

But recently it stopped working (next and previous buttons are just grayed out in the media player widget in the notification area). May be Youtube broke something in supporting media session API?

plasma-browser-integration: 5.20.2
Firefox: 83.0b9
Plasma integration addon: 1.7.6
Comment 1 Shmerl 2020-11-09 06:57:56 UTC
I just noticed something strange. When opening one clip of the playlist for the first time, controls actually work. But after jumping to the next (or previous one), they stop working. Refreshing the page and starting playing it again restores them.
Comment 2 Justin Zobel 2020-11-10 00:02:19 UTC
Confirmed on KDE Neon Unstable.
Comment 3 Denilson F. de Sá 2025-05-10 18:42:17 UTC
The same bug also happens while playing inside Jellyfin, as reported in https://github.com/jellyfin/jellyfin-web/issues/5208

User `@pproe` figured out this is related to the plasma-browser-integration extension. Disabling the extension makes the media player work just fine (but without the album art).
Comment 4 Kai Uwe Broulik 2025-05-11 06:16:48 UTC
Can’t reproduce. It is a little wonky in a sense that it takes a few seconds for the player callbacks to be set by the website when switching tracks but works for me in both Firefox and Chrome.
Comment 5 Shmerl 2025-05-11 06:19:42 UTC
It works fine for me as well. I don't think this bug is still relevant.
Comment 6 Kai Uwe Broulik 2025-05-11 06:20:32 UTC
Oh, sorry, I thought this bug was new. Didn’t look at the date :) Let’s close this then.
Comment 7 Denilson F. de Sá 2025-05-11 13:24:15 UTC
Well, there are many other (old) media-related bug reports for the plasma-browser-integration:
https://bugs.kde.org/buglist.cgi?bug_status=__open__&content=media&list_id=3152335&order=changeddate%2Cpriority%2Cbug_severity&product=plasma-browser-integration&query_format=specific

I can still reproduce this issue in Jellyfin inside Firefox 138.0 running on KDE Plasma 6.3.4 on Manjaro Linux, as described in https://github.com/jellyfin/jellyfin-web/issues/5208
Disabling the extension makes the media control behave better.

Maybe I should open a new bug report, but also I didn't want to create a potential duplicate of one of those 30 already open bugs.