Closed
Bug 1149852
Opened 9 years ago
Closed 7 years ago
Firefox does not display subtitles/captions as expected
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1281418
People
(Reporter: gurupras, Unassigned)
Details
Attachments
(1 file)
2.22 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150320202338 Steps to reproduce: Created a page with: <video id="video" ...> <source id="mp4" ...> <track id="sub" ...> </video> Created a new video, source and track element via javascript. Ran video.parentNode.replaceChild(new_video, video); new_video.load() Actual results: The video loaded fine, but there was no GET request issued for the track. Upon stepping through the javascript using the firefox javascript debugger(not sure of the technical name), a GET request was issued for the track. Expected results: A GET request should have been issued for the track element.
Reporter | ||
Comment 1•9 years ago
|
||
The attachment contains sample code that loads a video and track. Please note that the track does not correspond to the video.
Updated•9 years ago
|
Component: Untriaged → Video/Audio
Product: Firefox → Core
Reporter | ||
Comment 2•9 years ago
|
||
Is there anything else I can do to help resolve this bug? I'm not too familiar with the source code layout, however, if you can give me some pointers on where to start debugging, I could take a stab at it.
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
I don't understand the bug report. Why does the GET request matter?
Reporter | ||
Comment 4•8 years ago
|
||
The GET request matters if you want to obtain the track element along with the video. Without this GET request, we don't have access to subtitles/vtt elements.
(In reply to Guru Prasad from comment #4) > The GET request matters if you want to obtain the track element along with > the video. Without this GET request, we don't have access to subtitles/vtt > elements. Are you saying that the symptom is subtitles/vtt not working and the lack of the GET request appears to be the cause?
Reporter | ||
Comment 6•8 years ago
|
||
Yes, the symptom is the lack of subtitles and the cause is that no GET request was being generated for the track element.
Reporter | ||
Comment 7•8 years ago
|
||
Maybe I'm not communicating this right. I had attached a file (test.html) with the initial bug report. If you were to open this file with Google Chrome, you would see that it plays a video and also displays subtitles/captions. However, if you open it with Firefox, the subtitles/captions never show. Looking at the developer console's network activity, you will notice that there was no GET request issued for the track element. On a slightly unrelated note, if you enable console debugging and put a break point and step through the debugger, you will see that it actually does send out a request and then shows subtitles/captions. So my point is: a) Firefox does not display subtitles/captions as expected b) Firefox is not issuing GET requests for track elements c) Firefox's behaves differently while using the debugger
Updated•8 years ago
|
Summary: No GET request issued for track element → Firefox does not display subtitles/captions as expected
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•