搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I make web pages on angelfire and when I pull up the finished page the music link won't work?

  • 7 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

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

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

所有回复 (7)

more options

The <bgsound> element is a non-standard element. Use the <audio> element instead.

http://www.w3.org/wiki/HTML/Elements/bgsound

more options

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.

more options
more options

The above link was the one i used and i was unable to figure which one to use.

i do appreciate the help

more options

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于修改

more options

Thanks to both members who tried to help me. i don't know what I am doing wrong, but it isn't working.

more options

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.