Open Bug 703222 Opened 12 years ago Updated 5 months ago

html5 audio do not load ogg or wav file completely

Categories

(Firefox :: General, defect)

8 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: akaravashkin, Unassigned)

Details

Attachments

(1 file)

Attached file audio.html
User Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111103145528

Steps to reproduce:

User-Agent Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

Create an audio element, set src and load it (on onLoad of page):
a = document.createElement('audio'); 
a.src = '../match3demo/assets/game.wav';
a.load();

After page loading, click a button with play() of this audio element.
Look into Firebug, HTTP GET for game.wav status is 206 Partial Content. I tried preload option with no effect.
Same situation with .ogg files.

For example, Google Chrome (15.0.874.120) works fine with this code and wav\mp3 files.


Actual results:

There is no sound


Expected results:

Sound should play
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.