Closed Bug 1580623 Opened 5 years ago Closed 5 years ago

Implement the seek{back,for}ward in the MediaSession interface

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

References

()

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

We should implement the MediaSession API for the seek operations. However, the definition of the action handler in the current spec is problematic for the seek operations:

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=1112032#c68
  2. https://github.com/w3c/mediasession/issues/234

Once they are solved, we should implement it.

Attachment #9092203 - Attachment description: Bug 1112032 - P4: Correct MediaSessionActionDetails for seek operations. → Bug 1580623 - Test for seek operations in MediaSession interface.

Will only implement seek{back,for}ward in this bug.

Summary: Implement the seek operations in the MediaSession interface → Implement the seek{back,for}ward in the MediaSession interface
OS: Unspecified → All
Hardware: Unspecified → All
See Also: → 1621403
Attachment #9092203 - Attachment description: Bug 1580623 - Test for seek operations in MediaSession interface. → Bug 1580623 - Add seek{back,for}ward to MediaSessionAction
Blocks: 1620077
Attachment #9092203 - Attachment description: Bug 1580623 - Add seek{back,for}ward to MediaSessionAction → Bug 1580623 - P1: Add seek{back,for}ward to MediaSessionAction
Attachment #9092203 - Attachment description: Bug 1580623 - P1: Add seek{back,for}ward to MediaSessionAction → Bug 1580623 - P1: Add `seek{back,for}ward` to MediaSessionAction and implement `seekOffset`
Pushed by btara@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d729f6a0050b P1: Add `seek{back,for}ward` to MediaSessionAction and implement `seekOffset` r=webidl,alwu,baku https://hg.mozilla.org/integration/autoland/rev/0333485a02ed P2: Fire seek{for,back}ward action handler if it's set r=alwu

(In reply to Andrei Ciure[:aciure] from comment #5)

Backed out 3 changesets (bug 1620077, bug 1580623) for causing mochitest failures
https://hg.mozilla.org/integration/autoland/rev/bc13649cbfa3ef1da31685275d0c15ac7b121704

push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=293577667&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=981e37f4d18dd9845697ad099da0a9d9068c94dd&failure_classification_id=2

The fail is due to the patch in Bug 1620077 is pushed together. I don't think I mark D65409 as checked-in-needed. Can you just land D45459 and D66619?

Flags: needinfo?(cchang) → needinfo?(aciure)
Pushed by aciure@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/96061ce60523 P1: Add `seek{back,for}ward` to MediaSessionAction and implement `seekOffset` r=webidl,alwu,baku https://hg.mozilla.org/integration/autoland/rev/f1a3c204d3ba P2: Fire seek{for,back}ward action handler if it's set r=alwu

Done, thanks for letting me know.

Flags: needinfo?(aciure)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

Documentation updates:

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

Attachment

General

Created:
Updated:
Size: