playerctl icon indicating copy to clipboard operation
playerctl copied to clipboard

next and previous do not work with firefox

Open govindbalaji-s opened this issue 4 years ago • 4 comments

The player I am using is firefox. I am using the synaptic package v2.0.1 in MX Linux 19.03. When I play youtube on firefox, playerctl play-pause works. However playerctl next or playerctl previous do not cause any effect. They don't produce any error messages either. Are there any logs that I can check?

I tried them on VLC Media Player, and they both worked.

I tried to install the latest release through the .deb file but ran into #191

govindbalaji-s avatar Dec 31 '20 08:12 govindbalaji-s

An update probably isn't going to solve that, it's likely an issue on the Firefox end.

acrisci avatar Dec 31 '20 15:12 acrisci

Not working on Chrome either. However, in firefox too, this works on soundcloud. Seems like some problem in youtube.

But media control keys used to work for me with youtube in ubuntu without any additional packages. Now I am trying to map those keys to playerctl commands. Do you have any suggestions on how else the media control keys would have worked in ubuntu?

govindbalaji-s avatar Jan 01 '21 06:01 govindbalaji-s

CanGoNext and CanGoPrevious properties in the MPRIS dbus object are false when youtube is active. Afaik firefox media controller supports media even if it does not implement the API so maybe youtube worked before this was implemented.

The discontinued web-media-controller addon still works. By emulating a click in the related button.

This should be closed and addressed by youtube or the browser.

unai-ndz avatar Jan 12 '21 14:01 unai-ndz

The media controls of next, previous are working only when we are in youtube playlist. Maybe the driver is finding difficulty with what to play next, when not in playlist.

akk382 avatar Oct 19 '22 18:10 akk382