Closed Bug 1582509 Opened 5 years ago Closed 4 years ago

Implement setPositionState in Media Session interface

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: chunmin, Assigned: alwu)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files, 1 obsolete file)

Implement setPositionState in the Media Session API defined in https://w3c.github.io/mediasession/#dom-mediasession-setpositionstate

Target it on this release cycle so mark it as P1.

Assignee: cchang → alwu
Priority: P3 → P1

According to the spec [1], implement the dictionary MediaPositionState and setPositionState().

[1] https://w3c.github.io/mediasession/#dom-mediasession-setpositionstate

According to [1], the playback rate can be either positive or negative, the only unsupported value is zero.

[1] https://w3c.github.io/mediasession/#dom-mediapositionstate-playbackrate

Blocks: 1620077
No longer blocks: 1620077
Attachment #9134500 - Attachment is obsolete: true
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bfc0e35f48f6
part1 : implement 'MediaPositionState' and 'setPositionState()'. r=emilio
https://hg.mozilla.org/integration/autoland/rev/f4286a9798d8
part2 : modify and enable wpt 'positionstate.html'. r=baku
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22362 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR merged by moz-wptsync-bot
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Regressions: 1624111
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: