Closed
Bug 1242252
Opened 10 years ago
Closed 7 years ago
Audio element not playing after element attribute modification of the anchor calling the play function
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: s.cabotse, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20160105164030
Steps to reproduce:
Create an anchor, set the onclick attribute to play a sound with an html5 audio element, activate the onclick event by clicking on this link. During the time the sound is playing, change the href attribute of this link to another value (example : '#'+Math.random() )
Actual results:
Sound is stopped immediately and would not play again on subsequent clicks on the link.
Expected results:
The sound should play, even if the anchor calling the loading and playing of the sound gets modified. This seems to be linked with the security features on media elements, which does not allow sounds to be played otherwise than after an onclick event.
| Reporter | ||
Comment 1•10 years ago
|
||
Ok, my bad, this happens only if you have firebug opened...
Otherwise the bug is not systematic
Could you provide a simple testcase, please.
Flags: needinfo?(s.cabotse)
Updated•10 years ago
|
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Updated•10 years ago
|
Priority: -- → P2
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(s.cabotse)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•