stream mp3 to website including iphone
i want to stream an MP3 audio file to a webpage, what would be the best technology to use?
I like the flash controls, but i don't want to exclude the iphone/ipad users
looked at jque开发者_如何转开发ry, but is using html5 (if you can give me a link to a good jquery option would be useful)
can anyone suggest a technology we can use, that will accomodate all users, the audio needs to play inline and not move away from the page.
thanks in advance
The iPhone's version of Safari supports quite a lot of HTML5, including <audio>
. Use Modernizr to detect HTML5 <audio>
support, and use it if the browser supports it. Otherwise, fall back to a Flash-based player.
精彩评论