mihael_p
mihael_p

Reputation: 1

HTML5 stream m3u radio player

I have a problem with building HTML5 audio player using m3u format.

I have tried do it like this:

<audio id="audio-player" src="http://fm101.uz:9900/mobile.m3u" type="audio/aacp" controls="controls"></audio>

Upvotes: 0

Views: 8716

Answers (1)

Kuugal
Kuugal

Reputation: 11

Instead of the m3u extension use the true url, you can discover this url opening the m3u file on winamp (or another audio program) and on the playlist window, right-click, properties and you can see "http://fm101.uz:9900/fm101_high" or something similar.

<audio src="http://fm101.uz:9900/fm101_high" controls="controls"> </audio>

http://jsfiddle.net/h4oo9012/1/

Upvotes: 1

Related Questions