Closed
Bug 1116516
Opened 9 years ago
Closed 9 years ago
HTML5 audio tag does not work in some cases; no audio load/playback
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 600806
People
(Reporter: zxspectrum3579, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20141218174327 Steps to reproduce: Went to check this page: http://www.candoart.com/prof_jrmen/itoarata.html and listen to an audio sample there by pressing "play" (a triangle) button. Lets take the first audio snippet. The code that allows to do that is such: [code]<object type="application/x-shockwave-flash" data="voice\dewplayer.swf" width="200" height="20" id="dewplayer" name="dewplayer"> <param name="wmode" value="transparent" /> <param name="movie" value="voice\dewplayer.swf" /> <param name="flashvars" value="mp3=voice\itoarata_pr.mp3" /> <audio src="voice\itoarata_pr.mp3" controls></audio> </object>[/code] It picks up Flash Player on Google Chrome, and HTML5 audio player in ForeFox 35 Beta and FireFox 37 Nightly. The referred audio does exist and it loads/plays well separately: http://www.candoart.com/prof_jrmen/voice/itoarata_pr.mp3 Actual results: The player switches to playback mode, with the main button changing from triangle to pause "||" sign, but the audio does not play. Checked in Nightly 37 (64-bit, e10s), Beta 35 (32-bit), and in safe mode. Expected results: Audio playback.
Comment 1•9 years ago
|
||
url-path inside <param> and <audio> should be '/' instead of '\' .
Reporter | ||
Comment 2•9 years ago
|
||
Yes, but it works with Flash just fine. If HMTL5 audio player is more strict than that, it has to indicate that it can not load the audio, not be just hung. Is there a "bug" for that?
Reporter | ||
Comment 3•9 years ago
|
||
Thanks, Alice, but what about HTML5 auto player bar displaying "Content has failed to load" error within the bar itself or in a tiny pop-up (a la "title" for links)? Is there a bug for that? Users should not be in loss on whether to wait the audio to load (in case if server is slow/overloaded) or not (if file destination does not exist).
Reporter | ||
Comment 4•9 years ago
|
||
I have tested it: for Flash/non-HTML5, Google, Apple and Microsoft do slash/backslash replacements, unlike Opera and Mozilla. But for HMTL5 object, none do. And, going back to comment #3, among all five browsers only Internet Explorer displays error message in case of data source failure. On Mozilla's part, not even Nightly 37 has this solved yet.
Comment 5•9 years ago
|
||
(In reply to User Dderss from comment #4) > And, going back to comment #3, among all five browsers only Internet > Explorer displays error message in case of data source failure. On Mozilla's > part, not even Nightly 37 has this solved yet. Maybe Bug 600806
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•