Hello.

There is the task of introducing sound to the website (html5, jquery), so much so that everything works on mobile devices!
There are no problems with sounds uploaded to the site. But with the broadcast does not work! I tried to use JPlayer, I tried to inject a stream right into html5 - I don’t want to work on my mobile, even if it is cracked.
Here is a link to the stream that JPlayer took from the test: http://listen.radionomy.com / abc-jazz

Could someone help embed this link in HTML5, so that it works on Android 4 and iOS?

Thank.

    1 answer 1

    Use the <audio> and the path to the .m3u file

     <audio src="http://listen.radionomy.com/abc-jazz.m3u" controls="controls"> Ваш браузер не поддерживает теги <audio> </audio>! Обновите версию браузера! </audio> 
    • Thank you, but do you really think that I have not tried this method ?? It works on a PC, but not on mobile devices. In addition, you write: src = "music.ogg" - yes, it works that way, but music.ogg is a local file, it works like this on a mobile. But try a link to the broadcast, like this: <audio src = " listen.radionomy.com/abc-jazz " controls = "controls"> Your browser does not support the tags <audio> </ audio>! Update your browser version! </ audio> - DennMonn pm
    • as you need. so that the user went to the site, pressed the button and played music from the stream? - Nikita Shpak
    • Yes something like that. We have a type of "cafe", you go in and play radio there. You can choose a stream from the list of radio channels. - DennMonn