With html5 you can now add music into your pages with ease using:
how ever if you try to stream music though it eg:
it doesnt work
however there is a simple hack to get it working
simply put /; at the end of the url eg:
Happy streaming :P
Added after 2 minutes:
Browser support formats:
IE 9 MP3
Firefox 4.0 Wav, Ogg
Chrome 6 MP3, Wav, Ogg
Safari 5 MP3, Wav
Opera 10.6 Wav, Ogg
PHP Code:
<audio src="yourmp3.mp3" controls="controls" autoplay="autoplay"/>
PHP Code:
<audio src="http://voxsc1.somafm.com:8202" controls="controls" autoplay="autoplay"/>
however there is a simple hack to get it working
simply put /; at the end of the url eg:
PHP Code:
<audio src="http://voxsc1.somafm.com:8202/;" controls="controls" autoplay="autoplay"/>
Happy streaming :P
Added after 2 minutes:
Browser support formats:
IE 9 MP3
Firefox 4.0 Wav, Ogg
Chrome 6 MP3, Wav, Ogg
Safari 5 MP3, Wav
Opera 10.6 Wav, Ogg