M
M
mega942014-10-30 10:13:35
JavaScript
mega94, 2014-10-30 10:13:35

How to play an audio stream (.pls file) on a web page using audio?

I want to make a radio broadcast, but I don't know how to make the audio element play an audio stream using a .pls file. Like on the SHOUTcast website . Help me please.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Taratin, 2014-10-30
@mega94

.pls is just a playlist text file with ini structure You can load it via ajax and parse it on the
client using
https://stackoverflow.com/questions/3870019/javasc... src of the audio element.

B
bzz, 2014-10-30
@bzz

jplayer.org

S
Sergey Savostin, 2014-10-30
@savostin

uppod.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question