After that it is just dynamic changing of the src of the audio tag with the correct mp3 URL. ![]() Crea tu propia estacin de radio en sencillos pasos. Otherwise try to find an open source/free flash player as a fallback.Īlso your m3u file can be parsed using JS to extract the mp3 URLs (m3u files are normally only referencing playlist of items). Audio Streaming Ofrecemos los mejores servicios para radio. I would suggest you use a fallback for your case scenario as not all browsers are going to support m3u files.įor example m3u file does not appear in the supported media matrix for Android.ĮDIT: you can use JW player that supports m3u files for wider browser coverage. It has a great UX design on tablet and smartphone. It supports MP3 audio file playback as well as streaming from SoundCloud, SHOUTcast, and Icecast. You need to check for audio/mpegURL and application/x-mpegURL and audio/mpeg before going ahead and deliver the m3u file. tPlayer is a jQuery based player for WordPress. If (myAudio.canPlayType('audio/mpeg') != "") Var myAudio = document.createElement('audio') You need to check for browser support both for mp3 and m3u with the canPlayType method - example: var supportsMp3 = false ![]() De hecho, ya hace tiempo que webs populares como youtube, vimeo o daylimotion incorporan reproductores en HTML5. Además HTML5 nos permite construir reproductores tanto de audio como de video. It should play on iOS: try to add mime-type audio/mpegURL or application/x-mpegURL to your server (if not already done) AND our source tag. Una de las aportaciones más útiles de HTML5, es la posibilidad de mejorar la reproducción de archivos multimedia, audio y video, en nuestra web. I guess the support for m3u file format is going to be scattered in HTML5 media compatible browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |