The Media Controls stop working after skipping to the next song on Soundcloud
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: rdoghi, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
4.98 MB,
video/mp4
|
Details | |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
[Affected platforms]:
Platforms: Windows 10, MAC OSX, Ubuntu 18.04
[Preconditions]:
Ensure both pref media.hardwaremediakeys.enabled and dom.media.mediasession.enabled are true
Steps :
- Launch the Firefox browser and reach https://soundcloud.com/search?q=eminem
- Hit play on the first video.
- Use the Pause/Play Media Control Key in order to stop and start the song.
- Hit the "Next" Media control Key.
- Try to Pause/Play the next song using the media control key
Expected Results :
The user should be able to Pause/Play or Skip songs using the Media control Keys from the keyboard or from the Virtual Control interface.
Actual Results :
After skipping the first song that plays with sound the Virtual Control interface will disappear and the user will no longer be able to control the song using the Media Control keys from the keyboard.
Please note that the songs are displayed in a form of a playlist even though its the result of a search. (you can see the entire playlist on the button of the screen on the right where music controls are.)
Please also not that If the user plays the Next song manually using the mouse the song can be controlled from the media keys without any issues.
Reporter | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
I can reproduce this issue.
Comment 2•4 years ago
|
||
Per https://support.mozilla.org/fr/kb/control-audio-or-video-playback-your-headset-or-keyboard and https://developers.soundcloud.com/blog/playback-on-web-at-soundcloud, I think the issue may be that media from web-audio cannot be controlled with media control keys, but I I'll defer to Alastor on this.
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/53ac662ab8f9
https://hg.mozilla.org/mozilla-central/rev/900440de905d
Assignee | ||
Comment 7•4 years ago
•
|
||
Comment on attachment 9176308 [details]
Bug 1663631 - part1 : disconnect audible listener when we recreate a media sink or shutdown.
Beta/Release Uplift Approval Request
- User impact if declined: Sometime users would be not able to control media via media keys on soundcloud after pressing
next/previous track
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Follow comment0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It doesn't introduce new behavior change, the fix is about correcting media audible state in order to let Firefox detecting those audible media and being able to control them via media keys. Also, we have an automation test to cover this issue.
- String changes made/needed: No
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 8•4 years ago
|
||
Hi, This issue is verified as fixed Windows 10, Mac Os and Ubuntu 18.04 using our latest nightly build 83.0a1 (2020-09-23).
Comment 9•4 years ago
|
||
Comment on attachment 9176308 [details]
Bug 1663631 - part1 : disconnect audible listener when we recreate a media sink or shutdown.
approved for 82.0b3
Updated•4 years ago
|
Comment 10•4 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 11•4 years ago
|
||
This issue is verified as fixed on Windows 10, Mac Os and Ubuntu 18.04 in beta 82.0b3 as well.
Description
•