Closed
Bug 341861
Opened 18 years ago
Closed 7 years ago
tag embed doesn't work with javascript when I use the properties .src and .play
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: grfree, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 This happens with javascript when I try to change the music. Example: if I write a function that catch the value of a select (form) for change the property src of embed, it doesn't work. This work with IE, but only with bgsound instead of embed I tried also in another way: I wrote several functions that changed the innerHTML of a div, with a new tag embed for each... This work, but only for a little seconds: in a few moments, the music stop(!) and mozilla ask to me to install a plugin that doesn't exist... Reproducible: Always Steps to Reproduce: 1.function music(any) { document.getElementById("myembed").src=any[any.selectedIndex].value; } 2.<form><select onChange="music(this);"> <option value="music1.mp3">1st music</option> <option value="music2.mp3">2st music</option> </select> </form> 3.<embed src="#" autoplay="true" hidden="true" /> Actual Results: Nothing. With inner HTML the music stops in a few seconds... Expected Results: The music should change when I select an option. My extensions: Google preview Ie tab Greasemonkey Customize Google FirefoxMenuButtons DownThemAll Image Zoom IE view Tab Mix Plus My theme: Orbit Yellow 2006
Sorry, I wrote any[any.selectedIndex].value instead of any.options[any.selectedIndex].value However, it's the same... it doesn't work.
Updated•18 years ago
|
Component: Plugin Finder Service → Plug-ins
Product: Firefox → Core
QA Contact: plugin.finder → plugins
Version: unspecified → 1.8 Branch
Well, 3 years after this note the problem is still not fixed. This code... <input type="button" value="Spiel" onClick="document.getElementById('ersteaud').play();" ondblclick="document.getElementById('ersteaud').stop();"> <embed type="audio" id="ersteaud" autostart="false" loop="false" src="1.mp3" hidden="true"></embed> ... works fine with IE (!) but there's hardly andy reaction in FF. I would be thankfull if a FF-employee set the status to CONFIRMED and help solving this problem
Comment 3•7 years ago
|
||
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•