Closed Bug 1667011 Opened 5 years ago Closed 5 years ago

SMTC media control overlay interface not updating when a new YouTube video in other tab plays

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 81
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: a47zes0ir, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Play a YouTube playlist, switch to another tab.

Actual results:

Once the next video automatically starts, the SMTC media control overlay isn't updated, still showing an old video title.

Expected results:

Should update automatically.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Alastor, could you help me triage this, please?

Flags: needinfo?(alwu)

On Fx81, we haven't enabled Media Session API by default yet, which would be enabled on Fx82. Could you try to enable that (dom.media.mediasession.enabled) and see if the issue gets fixed for you?
Thank you.

Flags: needinfo?(alwu) → needinfo?(boontje)

yessss that fixed the issue for me! :D Why wasn't that API enabled by default yet?

Flags: needinfo?(boontje) → needinfo?(alwu)

We wanted to ensure that media control can work well even if without media session API, so shipped them separately. But media session API would be enabled on Fx82 soon :)

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(alwu)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.