Closed
Bug 270470
Opened 20 years ago
Closed 20 years ago
appendChild(thisembed) does not result in sound being played
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jay, Unassigned)
References
()
Details
Attachments
(5 files)
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a5) Gecko/20041103 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a5) Gecko/20041103 Firefox/0.9.1+ test file should play sound on opening file and again onmouseover yellow rect. Reproducible: Always Steps to Reproduce: 1.open file, sound plays 2.mouseover yellow rect 3. Actual Results: alert box showing that appendchild has added the element together with attributes Expected Results: play sound as well http://www.peepo.com uses innerHTML in very similar way, and plays new sound onmousover. also tried innerHTML, did not work for me.
| Reporter | ||
Comment 1•20 years ago
|
||
needs file games.mp3 in the same directory
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Comment 3•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Attachment #166257 -
Attachment description: file to play a sound onloading SVG, without any event handling → dont use
| Reporter | ||
Comment 4•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Attachment #166267 -
Attachment description: plays mp3 in this attachment → don't use
| Reporter | ||
Comment 5•20 years ago
|
||
for some reason, the cgi version does not show the innerHTML contents in the alert dialogue. the URL version does: http://peepo.co.uk/temp/append-sound.svg
| Reporter | ||
Comment 6•20 years ago
|
||
Jim says script should be: createElementNS(htmlNamespace,...) changing to wfm until checked
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 7•20 years ago
|
||
| Reporter | ||
Comment 8•20 years ago
|
||
use:
document.createElementNS("http://www.w3.org/1999/xhtml", "embed");
Updated•17 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•