Closed
Bug 1582509
Opened 5 years ago
Closed 5 years ago
Implement setPositionState in Media Session interface
Categories
(Core :: Audio/Video: Playback, task, P1)
Core
Audio/Video: Playback
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
Assignee | ||
Comment 1•5 years ago
|
||
Target it on this release cycle so mark it as P1.
Assignee: cchang → alwu
Priority: P3 → P1
Assignee | ||
Comment 2•5 years ago
|
||
According to the spec [1], implement the dictionary MediaPositionState
and setPositionState()
.
[1] https://w3c.github.io/mediasession/#dom-mediasession-setpositionstate
Assignee | ||
Comment 3•5 years ago
|
||
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
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
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
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bfc0e35f48f6
https://hg.mozilla.org/mozilla-central/rev/f4286a9798d8
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Updated•5 years ago
|
Keywords: dev-doc-needed
Comment 10•4 years ago
|
||
Doc updates:
- Set
version_added
forsetPositionState()
to 76 - Added
MediaPositionState
to BCD - Added https://wiki.developer.mozilla.org/en-US/docs/Web/API/MediaPositionState
- Added https://wiki.developer.mozilla.org/en-US/docs/Web/API/MediaPositionState/duration
- Added https://wiki.developer.mozilla.org/en-US/docs/Web/API/MediaPositionState/playbackRate
- Added https://wiki.developer.mozilla.org/en-US/docs/Web/API/MediaPositionState/position
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•