开发者

ASP.Net Background Music [closed]

开发者 https://www.devze.com 2023-02-01 20:10 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 4 years ago.

Improve this question

I have a website with a master pag开发者_开发技巧e and I want to play an mp3 file in the background, in every page.

tried bgmusic but its not supported and so is embed.

Any Ideas?


Don't do it. One of the most annoying things in the world is music on a webpage. If absolutely MUST embed an MP3, please, please, please, provide a way for the user to turn it off and/or mute it.

that being said, here is an article with a couple of ways to play an MP3 on your page.


(mandatory xkcd reference, CW because it's not a real answer)

ASP.Net Background Music [closed]

Alt-text: It's like they got together and said 'what do we miss most from the internet in 1998? that's right, embedded MIDI!'

(link)

Too short, didn't understand it: don't do it, it's fastidious on just about every level: you waste your bandwidth, you waste user's bandwidth, you waste user's PC resources to run a plugin (be it Flash or whatever), you make browsing between pages slower (because the music has to be started each time), but, most important, you make the users of your site hate it because 99% of them just want to read the darn pages and do not care at all about your music.

0

精彩评论

暂无评论...
验证码 换一张
取 消