Closed Bug 1604653 Opened 2 months ago Closed 2 months ago

Add `setPlaybackState()` API on MediaControlKeysEventSource

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

According to [1], we should add an API to tell MediaControlKeysEventSource about the current playing state, instead of accessing media controller in the event souce.

[1] https://phabricator.services.mozilla.com/D57024#1737137

Blocks: 1605769
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7082b580eeb
add new methods to set and get playback state for the event source. r=MeFisto94
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.