Closed Bug 1620077 Opened 4 years ago Closed 4 years ago

Turn on the pref 'dom.media.mediasession.enabled' on Nightly

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

We have finished connecting media control keys to media session's action handlers, and close to finish showing media session's metadata on virtual control interface.

So I think it's time to turn on this pref on Nightly in order to gather more feedbacks and catch potential bugs.

Hi. I've been following and testing this feature, as I'm really looking forward to it.

I have not reported this since the feature seemed work-in-progress, but as of 75.0a1 (2020-03-04), turning on the pref still breaks playback on music.yotube.com. Previously it also threw an error in the console, however this seems to no longer be the case. It looked like the code was not built to support partial implementations. Is this behavior still expected at this point?

Thank you for telling me that, I can confirm that music.yotube.com didn't work after I enabled media session. I would take a look to see what API they're using which we don't have, in order not to break them after enabling media session.

Target it on next release cycle because I have to ensure that enabling media session won't break any sites, eg. music.youtube.

Severity: minor → normal
Priority: P1 → P3

I can confirm that youtube.music can work well after we apply the patches from bug1580623, bug1582508 and bug1582509. So I will enable the pref after those bugs get fixed.

Depends on: 1580623, 1582508, 1582509

Ah, sorry I was wrong, we only need the patch from bug1580623, then youtube.music can work well.

No longer depends on: 1582508, 1582509
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/981e37f4d18d
Turn on the pref 'dom.media.mediasession.enabled' on Nightly. r=chunmin
Flags: needinfo?(alwu)
Attachment #9130910 - Attachment description: Bug 1620077 - Turn on the pref 'dom.media.mediasession.enabled' on Nightly. → Bug 1620077 - part1 : Turn on the pref 'dom.media.mediasession.enabled' on Nightly.
Attachment #9134268 - Attachment description: Bug 1620077 - part2 : fix wpt failures. → Bug 1620077 - part2 : enable MediaSession and MediaMetadata in testing.
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0127495e093c
part1 : Turn on the pref 'dom.media.mediasession.enabled' on Nightly. r=chunmin
https://hg.mozilla.org/integration/autoland/rev/e24f1d77c46e
part2 : enable MediaSession and MediaMetadata in testing. r=baku
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Regressions: 1623950
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: