Can firefox implement SystemMediaTransportControls Class?
Categories
(Core :: Audio/Video: Playback, enhancement)
Tracking
()
People
(Reporter: sasseones, Unassigned)
Details
Attachments
(1 file)
53.80 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
Play a video or song from youtube or soundcloud
Actual results:
i can't press pause / play or skip and it's not showing up in the volume menu where songs that are playing in groove or microsoft edge, or chrome show up.
Expected results:
i expected to at least be abe to pause / play the video with the keys on my keyboard but it ideally i want it to support the SystemMediaTransportControls Class https://docs.microsoft.com/en-us/uwp/api/Windows.Media.SystemMediaTransportControls
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
Marc, are you able to reproduce this issue on Windows?
This extension has js functions to scrape and interact with multiple media websites. Whilst this isn't the most elegant solution, it could work as a temporary one until a better api is devised for this, or if a better one exsists that would work too, but i looked for a few hours and couldn't find anything like that.
https://github.com/tjhrulz/WebNowPlaying-BrowserExtension/tree/master/Websites
Comment 4•5 years ago
|
||
I think this is "invalid", because:
Firefox 75 means FF Beta, but the prefs are only enabled on Nightly, but there we've already implemented all of this (minus the artwork, currently), so:
If you enable media.hardwaremediakeys.enabled
and dom.media.mediasession.enabled
, you should start seeing this working.
The first one is part of FF 74, so already shipped for you and the Media Session will be in FF 76.
Comment 5•5 years ago
|
||
Ah, make sense, I misread the description and thought the issue is that SMTC is not working.
Hi, Could you try the way mentioned in comment4 and see if it works for you? Thank you.
Updated•5 years ago
|
oh good work then thanks for the help <3
Description
•