开发者

Is it possible to add a mp3 to a splash page?

Is there anyway to add a mp3 file to a splash page? So that it plays in the background? I've been looking 开发者_JAVA技巧around but I haven't found anything other than the embed and bgsound neither of which work for a splash page. If anyone knows anything or even a website that might be helpful would be good.


Well if you are looking for html only solution (since you tagged only html & 'splash') then it has to be html5 as it supports audio tag.

I found this link useful for your purpose :

http://www.html5rocks.com/tutorials/audio/quick/

The code works for older browsers too. Though I don't think splash screens should be heavy.

Anyways, Hope that helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜