Mina Gabriel
Mina Gabriel

Reputation: 25130

play http live stream MP3 in iphone Browser?

i have successfully transcode RTSP live stream to HTTP live stream (audio MP3) using VLC

enter image description here

this is the url to my new live stream if i stream this url in VLC it works fine

    http://174.60.175.62:8080

Live DEMO

QUESTION

How can i play this http stream in iphone safari

this is what i have tried and didn't work

   <video id="video" src="http://174.60.175.62:8080" autoplay="autoplay">

Upvotes: 0

Views: 1520

Answers (1)

Dipak
Dipak

Reputation: 12190

It's MP3 so use HTML5 Audio Element

<audio controls="controls" loop="loop">
    <source src="http://westciv.com/podcasts/youmayknowmypoetry.mp3">
</audio>

Here is all information you needed for HTML5 Audio and Video

Upvotes: 1

Related Questions