Implement the `show-poster-flag` for HTMLMediaElement
Categories
(Core :: Audio/Video: Playback, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug, )
Details
Attachments
(5 files)
https://html.spec.whatwg.org/multipage/media.html#show-poster-flag
There are some places in the spec which mention we should run timeMarchesOn
algorithm if the show-poster-flag
is true, but we didn't implement this flag for HTMLMediaElement.
Assignee | ||
Comment 1•6 years ago
|
||
To create a function wrapper which would automatically check whether track list exists, in order to reduce unnecessary checking.
Assignee | ||
Comment 2•6 years ago
|
||
In order to make the implementation more fitting with the spec, move the implementation of pending-text-track-change-notification-flag
fomr text track list to media element.
In addition, it also help us not to expose the internal flag show-poster
(which will be implemented in patch3) of media element when doing the related algorithm.
Assignee | ||
Comment 3•6 years ago
•
|
||
According to the spec [1], implement the show-poster-flag
which is used to decide whether we need to run TimeMarchesOn
algorithm under certain situations.
[1] https://html.spec.whatwg.org/multipage/media.html#show-poster-flag
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Add missing augment and enable the wpt.
Comment 6•6 years ago
|
||
Backed out 4 changesets (Bug 1531863) for mochitest failures at test_videocontrols_vtt.html.
Backout: https://hg.mozilla.org/integration/autoland/rev/b653c9d4de17e17b4f7273ed192d10414222f88b
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&selectedJob=232543553&revision=e2e2b325344fcda75fe015b3de5ba25bd53613ba
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=232543553&repo=autoland&lineNumber=40830
Assignee | ||
Comment 7•6 years ago
|
||
According to the spec [1] step3, the 'change' event won't be dispatched immediately, so we should run the following check until we get the 'change' event.
[1] https://html.spec.whatwg.org/multipage/media.html#pending-text-track-change-notification-flag
Assignee | ||
Updated•6 years ago
|
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5b9bb0da7cd6
https://hg.mozilla.org/mozilla-central/rev/6dbda553b478
https://hg.mozilla.org/mozilla-central/rev/442e99192e46
https://hg.mozilla.org/mozilla-central/rev/859e7f4b9cb1
https://hg.mozilla.org/mozilla-central/rev/7ae9bc24596f
Description
•