Provide more methods/attribute/event handler on media controller webidl interface
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(8 files, 3 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
If we want to use this interface to construct media hub, we would definitely need more abilities on this interface.
In addition, we might also use this interface to implement media control on GeckoView, which would more fit their requirement. But we would implement that in C++ implementation first because that feature(media control on GV) is targeting on Fx81, which we might be not able to finish this interface to 100% usable on Fx81.
Assignee | ||
Comment 1•4 years ago
|
||
I've made some patches last week but didn't have time to finish them. Upload those WIP and will continue to work on them later.
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
Assignee | ||
Comment 9•4 years ago
|
||
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
|
||
Assignee | ||
Comment 12•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b81b6bf1b140 part1 : porting media controller's controlling methods r=chunmin https://hg.mozilla.org/integration/autoland/rev/8f48374d8c41 part2 : add `getMetadata()` on media controller webidl method. r=chunmin https://hg.mozilla.org/integration/autoland/rev/2c22b474652d part3 : using 'getMetadata()' in tests. r=chunmin https://hg.mozilla.org/integration/autoland/rev/48a86f2dd6bc part4 : expose `playbackState` on MediaController webidl interface. r=chunmin https://hg.mozilla.org/integration/autoland/rev/d0386487d649 part5 : add event handler `onplaybackstatechange`. r=chunmin https://hg.mozilla.org/integration/autoland/rev/8ae6a224e19f part6 : use 'controller.playbackState' in test. r=chunmin https://hg.mozilla.org/integration/autoland/rev/f4c506b647fe part7 : add event handler 'onmetadatachange'. r=chunmin https://hg.mozilla.org/integration/autoland/rev/d50f03f8c92f part8 : use 'onmetadatachange' in test. r=chunmin
Comment 14•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b81b6bf1b140
https://hg.mozilla.org/mozilla-central/rev/8f48374d8c41
https://hg.mozilla.org/mozilla-central/rev/2c22b474652d
https://hg.mozilla.org/mozilla-central/rev/48a86f2dd6bc
https://hg.mozilla.org/mozilla-central/rev/d0386487d649
https://hg.mozilla.org/mozilla-central/rev/8ae6a224e19f
https://hg.mozilla.org/mozilla-central/rev/f4c506b647fe
https://hg.mozilla.org/mozilla-central/rev/d50f03f8c92f
Description
•