Closed
Bug 863488
Opened 12 years ago
Closed 8 years ago
[webvtt] captions do not display unless play() is called
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: rillian, Assigned: bechen)
References
(Blocks 1 open bug, )
Details
If we add a track element to a video element and then call video.currentTime=foo, the playback time changes and the video updates to show the requested frame, but the currently active caption does not display.
If one subsequently calls play() or clicks the play button on the controls the caption immediate displays.
E.g. after loading https://people.xiph.org/~giles/2013/vtt-02.html text should be visible on the video frame.
Reporter | ||
Comment 1•12 years ago
|
||
Tested with https://github.com/RickEyre/mozilla-central.git integration branch commit de894e21b1ae69c07648e917f3ccd5052a84e73b and media.webvtt.enabled=true in about:config.
Reporter | ||
Comment 2•12 years ago
|
||
FWIW, Chrome Canary 28 doesn't show the caption on initial page load or shift-reload, but does on a simple reload.
Comment 3•11 years ago
|
||
What's our stance on this Ralph? Do we just want parity with Chrome, or should we implement the behaviour you suggested?
Comment 4•11 years ago
|
||
See previous comment. Forgot to needinfo.
Reporter | ||
Comment 6•11 years ago
|
||
I think we should implement the behaviour I suggested.
With today's nightly 31.0a1 (2014-04-07) the behaviour is improved. If I just visit the example page from the URL field subtitles render. If I reload the page with 'ctrl-R' sometimes it displays and sometimes it doesn't. Looks like we have a race?
Flags: needinfo?(giles)
Updated•11 years ago
|
Assignee: nobody → rick.eyre
Comment 7•10 years ago
|
||
The race is probably because 'onloadedmetadata' hasn't been changed to fire after the tracks have loaded yet. See bug 882669 for details. I'll probably be tackling that bug next and it's dependent bugs so this should be solved once that lands.
Comment 8•10 years ago
|
||
With the following STR:
1. Load http://people.mozilla.org/~rgiles/2013/demo.html and play.
2. Pause when the subtitle is displayed.
3. Enter fullscreen.
Actual result: the subtitle is not displayed in fullscreen mode unless Play is clicked again.
Reproducible with Firefox 31 beta 8, latest Nightly and latest Aurora on Windows 7 x64 and Mac OS X 10.9.4.
Is the above issue related to this bug?
Flags: needinfo?(rick.eyre)
Comment 9•10 years ago
|
||
Yes, that issue sounds like it's related to this bug. I'll see if I can look into it eventually.
Flags: needinfo?(rick.eyre)
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Assignee | ||
Updated•8 years ago
|
Assignee: rick.eyre → bechen
Assignee | ||
Comment 10•8 years ago
|
||
The bug had been fixed by other bugs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•