Closed
Bug 123485
Opened 23 years ago
Closed 21 years ago
peepo.com - sounds and events
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jay, Assigned: asa)
References
()
Details
(Whiteboard: [proprietary-js])
Attachments
(1 file)
1.85 KB,
text/html
|
Details |
It is essential for my students that they hear sounds when javascript events are triggered, for instance onmouseover. It helps them to learn via cause and effect. Can anyone tell me if this is possible with mozilla. if so please point me to a uri. if not why is it not? when might it be? thanks
Mousing over most of the images i get an error in JS console: Error: event is not defined Source File: http://www.peepo.com/ Line: 28
Comment 2•22 years ago
|
||
hmm. should this bug is still be opened? a sound can probably be plaid by embedding a wav into the page and letting the right plugin handle it.
Reporter | ||
Comment 3•22 years ago
|
||
I've been trying for about 4 years without success, so their is certainly an issue. 'probably' cuts no ice, either you have an example that works for you, or not. Perhaps Aaronl could provide a comment?
tested on: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 I have only XMMS and I can listen *.wav, *.mp3 and *.m3u files. About "Plugger" plugin - some time crash (plugin, not browser).
Reporter | ||
Comment 5•22 years ago
|
||
also see bug http://bugzilla.mozilla.org/show_bug.cgi?id=151177
Comment 6•22 years ago
|
||
Thank you roumenpetrov, your suggested HTML works nicely.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•22 years ago
|
||
I am sorry this is not good enough. It does not work for me. This system seems very broken in comparison with say flash sound. Either one allows a pop up dialogue, for every event, which is not acceptable, if one unticks the 'ask me every time' box the first 2 roumenpetrov examples work fine, however the others, on my system, now wont play but only ask one where to save the file. I also dont understand how one can get the dialogue back, as naturally I dont want to be stuck with saving and opening every time. also the player is not available in the background.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Comment 8•22 years ago
|
||
- use <embed> with autoplay="false" and hidden="true" to preload audios - reserve a <embed> with loop="1" for playing audio - in your onmouseover event, simply reset the src of the play embed item see http://www.apple.com/quicktime/authoring/embed.html
Reporter | ||
Comment 9•22 years ago
|
||
embed might be fine if you have an example page that works. the link you point to states it is specific to quicktime. in my experience most professionals state the <object> is not well supported. and yes I have tried this a number of different ways without success. ideally your example should work for a number of different browsers. thanks again
Comment 10•22 years ago
|
||
what is the "bug" on this..?
Comment 11•22 years ago
|
||
wtf is up here ? the site uses document.all this is tech evang and nothing more ! script is at http://www.peepo.com/scripts/main-breadcrumb-nav.js
Comment 12•22 years ago
|
||
document.all.mysound.src="http://www.peepo.com/sounds/words/games.wav" tons of this.. document.getElementById("mysound").src="http://www.peepo.com/sounds/words/games.wav" would be better...
Assignee: asa → susiew
Status: UNCONFIRMED → NEW
Component: Browser-General → US General
Ever confirmed: true
OS: Linux → All
Priority: -- → P3
Product: Browser → Tech Evangelism
QA Contact: doron → zach
Hardware: PC → All
Whiteboard: [proprietary-js]
Version: other → unspecified
Reporter | ||
Comment 13•22 years ago
|
||
I've changed the script, so that the 'games' link uses: document.getElementById ("mysound").src="http://www.peepo.com/sounds/words/games.wav" this did not produce any result using mozilla 1.1b, Kai and Michael: do you have an example site that worls for you, ie plays a sound on mouseover, or other event, other than 'click'? thanks
Comment 14•22 years ago
|
||
ah... 'mysound' is a <bgsound/>-Element, which only exists in MSIE. Try to use yembed> or - even better <object>
Updated•22 years ago
|
Summary: sounds and events → peepo.com - sounds and events
Reporter | ||
Comment 15•22 years ago
|
||
function playmysound(thisSound){ if (thisSound) { var link=document.getElementById("myDummyforSoundonEvent") link.innerHTML= '<embed src="http://www.peepo.com/sounds/words/' + thisSound + '.wav" width="0.1" height="0.1" />' } } with <div id="myDummyforSoundonEvent"></div> in the body http://www.peepo.com and http://www.peepo.com/w3/sound-on-event/test.html are working examples is a method that is known to work for IE6/Xp IE5.5/win98 IE5.2/mac and moz1.3a/mac but only on mac, though it is likely that other moz will also work. IT DOES NOT WORK for linux or PC. why is it not possible to write to the .src directly? ie give the embed tag a name or id and then reference that, and change the src it is not good code, ie no object tags. IE6 does not let one(me) reference object tags by name or ID, to change the .innerHTML of an object tag... equally if one adds an <object>...</object> one cannot use .innerHTML successfully with IE6 thanks
Component: US General → Browser-General
Product: Tech Evangelism → Browser
Version: unspecified → 1.0 Branch
Comment 16•22 years ago
|
||
Jon, if you want this to be assigned to browser general, you need to assign to the default owners when changing the product/component. What plugin will play .wav files anyway?
Assignee: susiew → asa
QA Contact: zach → asa
Comment 17•21 years ago
|
||
I am getting some sounds from http://www.peepo.com with moz 1.5rc1 on W2k. When I look at the source, I see that a lot of the elements do not have .wav files associatted with them. WFM
Reporter | ||
Comment 18•21 years ago
|
||
Fixed as of moz 1.5rc1 checked again W2K and macOSx.2 Amazing what a team CONGRATULATIONS We may be able to switch to Mozilla across all our machines, and officially recommend Mozilla as our standard browser: have to see how SVG1.2 support is progressing :-)
Status: NEW → RESOLVED
Closed: 22 years ago → 21 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 19•21 years ago
|
||
Fixed as of moz 1.5rc1 checked again W2K and macOSx.2 Amazing what a team CONGRATULATIONS We may be able to switch to Mozilla across all our machines, and officially recommend Mozilla as our standard browser: have to see how SVG1.2 support is progressing :-) did I forget a plug for http://www.peepo.co.uk our all new SVG website for people with learning difficulties? It requires <use> external graphic library file support, and will require event support when I can find a browser that supports SVG1.2 even partially
Comment 20•21 years ago
|
||
The correct resolution is wfm -> reopen
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 21•21 years ago
|
||
-> wfm
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•