Open
Bug 795686
Opened 12 years ago
Updated 2 years ago
Lecture video player won't work in Firefox, does in Chrome
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
NEW
People
(Reporter: inform, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 Iceweasel/17.0a2 Build ID: 20120928042009 Steps to reproduce: I wrote a somewhat complex HTML5 video app that plays two video streams side-by-side (in this case, a screencast and a lecture video): http://www.cims.nyu.edu/~kloeckner/hpc12-video/upload/html/player.html?descriptor=metadata/2012-09-05.json Actual results: The page works perfectly in Chrome, but dies in Firefox by not noticing that videos have finished seeking (i.e. not firing the corresponding events, as is evident from the debug log on the page). It does work fine in Firefox when run off a local webserver on my hard drive. Poking around with Firebug shows that Firefox does wonky things on the network--trying to download the entire video, for instance. Expected results: The page should have worked as well as it does in Chrome.
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Video/Audio
Ever confirmed: true
Product: Firefox → Core
Reporter | ||
Comment 2•12 years ago
|
||
Based on a quick test, FF15 seems to behave no better than FF17.
Reporter | ||
Comment 3•11 years ago
|
||
FF23.0.1 is still unhappy.
Is it possible to attach a reduced testcase showing the issue?
Flags: needinfo?(inform)
Reporter | ||
Comment 5•11 years ago
|
||
Attaching won't work because of large media files. Also, there seems to be a timing component to this, since everything works fine if I serve the content from my local machine. For what it's worth, I've made a reduced version of the player that shows the same issue: http://tiker.net/inteq13/html/player-simple.html
Flags: needinfo?(inform)
Comment 6•11 years ago
|
||
(In reply to Andreas Kloeckner from comment #5) > For what it's worth, I've made a reduced version of the player that shows > the same issue: > http://tiker.net/inteq13/html/player-simple.html This example seems to work for me on a nightly build on Linux. What should I be seeing in failure?
Reporter | ||
Comment 7•11 years ago
|
||
In the debug window that pops up, you should at some point see "new state: paused", as you do in Chrome. Firefox never gets to this state for me. On FF23, I see a hang on "Stream {left,right}-audio loading media...".
Comment 8•11 years ago
|
||
(In reply to Andreas Kloeckner from comment #7) > In the debug window that pops up, you should at some point see "new state: > paused", as you do in Chrome. Firefox never gets to this state for me. On > FF23, I see a hang on "Stream {left,right}-audio loading media...". I see it show "new state: paused" and then the debug window disappears. Is this what is supposed to happen?
Reporter | ||
Comment 9•11 years ago
|
||
Yes, that's the desired behavior--it means the streams have finished buffering.
Reporter | ||
Comment 10•11 years ago
|
||
Just tried a nightly (26.0a2). The hang persists for me. Note that this appears to have something to do with connection speed--see my comment above on how things work well for me when using a local HTTP server. I'm on a 3Mbps cable line.
Comment 11•11 years ago
|
||
The testcase works erratically on my FF23, I need to reload the page 4 or 5 times.
Reporter | ||
Comment 12•11 years ago
|
||
I've observed that hitting the "seek to start" button in the full-scale player will usually fix things in FF23.
Comment 13•10 years ago
|
||
Andreas: can you still reproduce these video problems? I tested in Firefox 27, Aurora 29, and Nightly 30. The video seems to load (and then I can click play) in Nightly 30. In Firefox 27 and Aurora 29 the video looks like it is stuck in the loading state, but if I click ahead in the video timeline, then the video seems to load as expected. Maybe this is race condition related to order in which video events are delivered to the content? Unfortunately, the http://www.cims.nyu.edu/ server itself kept crashing ("Service unavailable!") when I was testing these videos.
OS: Linux → All
Hardware: x86_64 → All
Version: 17 Branch → Trunk
Reporter | ||
Comment 14•10 years ago
|
||
Still an issue for me with Firefox 27--stuck on loading. Haven't tried the nightly.
Comment 15•10 years ago
|
||
Nightly almost works for me. If I load the video directly from http://www.cims.nyu.edu/~kloeckner/hpc12-video/upload/video/2012-09-05-room.webm it works fine, so the server seems to have enough bandwidth. But in Nightly on Windows the page loads up to the seeking state, but playback the video playback never starts when I load the page itself. If I load right click and opt to show controls I can start playback using the in built controls. The page must be expecting us to fire an event... Andreas: You know your own code much better than we do, it would be great if you could track down the behaviour difference between Chrome and Firefox that's causing your video player to not start playback. Maybe start by looking at what event your player is waiting on to start playback?
Flags: needinfo?(inform)
Reporter | ||
Comment 16•10 years ago
|
||
The code waits for a can_play event, then executes a seek and waits for a seek_complete. The seek_complete usually doesn't arrive.
Flags: needinfo?(inform)
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
WFM on Mac OSX. Is this still reproducible?
Flags: needinfo?(inform)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•