Closed Bug 1621403 Opened 4 years ago Closed 4 years ago

Implement the seekto in the MediaSession interface

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: chunmin, Assigned: alwu)

References

Details

(Keywords: dev-doc-complete)

Attachments

(3 files, 2 obsolete files)

The seekto will be implemented in the MediaSession API in this bug, but in WebIDL interface since the spec issue: https://github.com/w3c/mediasession/issues/234

Blocks: MediaSession

Draft

Attached file Bug 1621403 - modify test (obsolete) —

Draft

Depends on D68300

See Also: → 1634192

I'm going to implement this before shipping MediaSession API (targeting at 81), at least to keep our API support as same as what Chrome has [1].

[1] https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/external/wpt/interfaces/mediasession.idl?q=MediaSession.idl

Assignee: cchang → alwu
Attachment #9162353 - Attachment description: Bug 1621403 - part1 : complete dictionary 'MediaSessionActionDetails'. → Bug 1621403 - part1 : complete dictionary `MediaSessionActionDetails`.
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a0e85f54ce3
part1 : complete dictionary `MediaSessionActionDetails`. r=emilio
https://hg.mozilla.org/integration/autoland/rev/da210606afcd
part2 : implement `seekto` action. r=chunmin,emilio
https://hg.mozilla.org/integration/autoland/rev/3f91a00c4f2d
part3 : add test. r=chunmin

This is already documented; however, the media session action types weren't previously in BCD, so I've submitted BCD PR 6488 to add MediaSessionAction, which will show up in content as "Media Session action types".

Assorted improvements have been made to the content about media session actions; new examples have been added, etc.

Also listed on Firefox 80 for developers.

Attachment #9135868 - Attachment is obsolete: true
Attachment #9135869 - Attachment is obsolete: true
See Also: → 1771039
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: