Closed Bug 1604653 Opened 4 years ago Closed 4 years 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

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: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: