I make web pages on angelfire and when I pull up the finished page the music link won't work?
After I finish my web page, using the html code for music of: <BGSOUND SRC="http://ethels-creations.angelfire.com/MUSIC-01/golden-girls.wav" AUTOSTART VOLUME="-100" LOOP="2"> or <embed src="http://ethels-creations.angelfire.com/MUSIC-01/always.mid" loop="5"> or <bgsound src="http://ethels-creations.angelfire.com/MUSIC-01/always.mid" loop="5"> When i pull up the page after saving it, the music won't play. It does play if I pull it up in my internet explorer when it is working. Can you help me
All Replies (7)
The <bgsound> element is a non-standard element. Use the <audio> element instead.
I don't know which audio element to use. If i use the example in my page as it it works, but when I change the music link to my wav or midi it won't work.
See this - http://www.w3.org/wiki/HTML/Elements/audio
The above link was the one i used and i was unable to figure which one to use.
i do appreciate the help
EMBED or OBJECT should work, but you probably need to specify a type to tell Firefox which plugin to use type="application/x-mplayer2" will make Firefox use the Windows Media Player.
<embed src="http://ethels-creations.angelfire.com/MUSIC-01/always.mid" type="application/x-mplayer2" loop="5">
You will have to install the WMP to make this work.
cor-el modificouno o
Thanks to both members who tried to help me. i don't know what I am doing wrong, but it isn't working.
The WAV file doesn't work with the audio element (likely it is an unsupported format/codec) and Firefox doesn't support MIDI natively, so you need to use an embed or object to play the WAV file.
- Media resource http://ethels-creations.angelfire.com/MUSIC-01/golden-girls.wav could not be decoded.
I can play the WAV file on Linux with a plugin using this code. I do not have a plugin to play MIDI, but I can hear the file if I paste the URL in the location/address bar.
<embed src="http://ethels-creations.angelfire.com/MUSIC-01/golden-girls.wav" type="application/x-mplayer2" loop="5">
Otherwise you have to use a Flash media player that can handle this WAV file.