Closed Bug 1582569 Opened 5 years ago Closed 4 years ago

Implement the "skipad" action 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

(2 files)

Implement the skipad action in the Media Session API defined in https://w3c.github.io/mediasession/#dom-mediasessionaction-skipad

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
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b77213feadf3
part1 : implement 'skipad'. r=chunmin,webidl,peterv
https://hg.mozilla.org/integration/autoland/rev/8f31faae9415
part2 : modify tests. r=chunmin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/24564 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Upstream PR merged by moz-wptsync-bot

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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: