Closed
Bug 1308717
Opened 8 years ago
Closed 8 years ago
Audio event not fired
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
INVALID
People
(Reporter: brian, Unassigned)
Details
The following page works fine in Chrome, but fails to works in FF (both desktop and mobile).
https://briancort.com/chordviz/
The page waits for 25 .mp3 files to load and then plays them and renders. In FF one of the 'canplaythrough' events is never fired.
Interestingly, this page does work if loaded from a local web server.
The relevant code is in the player.init() function in player.js.
Comment 1•8 years ago
|
||
The 'preload' is not set which defaults to 'metadata' on Desktop FF. The audio elements download just enough data to decode metadata and then stop. Therefore 'canplaythrough' is not fired. FF is spec conformant and this is an issue of the site script.
I would suggest to listen to 'canplay' to start the player.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•