Thread: HTML5 <audio>
View Single Post
Old 16th September 2011, 06:54   #9
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
I have a working HTML5 player that works on IE9, Chrome , firefox, safari, iphone/ipad as well

http://indienation.fm/html5/

the jplayer I found falls back to flash if the browser doesn't support the <audio> tag.

player.php is a ugly player example but its plays the live stream running on sc_trans and sc_serv

all based on http://www.jplayer.org/

fyi if you look at the source code file you will notice I point to 8000/; as the ; seams to trick the player into working with shoutcast streams and not just local mp3 files

using stream.nsv; stream.hackerdork; something.file; all seem to work when it's the semicolon ';' that does this trick.

let me know if this works for you as well.

take care

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote