embeded mp3 won't play in Firefox
I have just spent 2 hours trying to get my mp3 file to work in firefox.. it works in all other browsers using the <embed> code. I noticed that a lot of you had the same issues while I was searching for a solution. Well I found a solution! Use this code:
<audio autoplay="1" preload="none" style="width: 100%;" controls="controls">
if you wish to loop the music, add the word loop just before autoplay. You can also change the width to whatever % you want. Also change Welcome to whatever you wish as well. You can see my result here: http://www.gowan.org
I have just spent 2 hours trying to get my mp3 file to work in firefox.. it works in all other browsers using the <embed> code. I noticed that a lot of you had the same issues while I was searching for a solution. Well I found a solution!
Use this code:
<audio autoplay="1" preload="none" style="width: 100%;" controls="controls"><source type="audio/mpeg" src="YOURFILENAME.mp3" /><a href="YOURFILENAME.mp3">Welcome</a></audio>
if you wish to loop the music, add the word loop just before autoplay.
You can also change the width to whatever % you want. Also change Welcome to whatever you wish as well.
You can see my result here: http://www.gowan.org