Old 5th September 2016, 18:21   #1
Junior Member
Join Date: Sep 2016
Posts: 1
I need some advice on playing .m3u live stream in HTTP or PHP.

Here is a basic idea. I made a site and i want to integrate player in one of the pages so the users can listen to the stream live on the website.
It will be easier to say what i want and what i have done so far, so here is the list:

Made a HTML5/PHP Website
Made a SHOUTcast
Made a .m3u file for it
Using my pc as a streaming source and website host
And im using third party website to send the stream to the clients

What's left to do:
I need to find a way to integrate player into my website that can play the stream
(I dont have any coding experience btw)

NOTE: If you can point out a player or just give me the whole code it's going to save me alot of time. The player doesnt need to be something special ... i mean play, mute, stop button, vol up, vol down, something like that.
pi7bulla is offline   Reply With Quote
Old 5th September 2016, 19:29   #2
Forum King
thinktink's Avatar
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
Have a quick look at this.
thinktink is offline   Reply With Quote
Old 6th September 2016, 06:24   #3
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
I foresee two problems

1 - most players out in the wild are Adobe Flash based crap that will chew up memory and crash the browser eventually - sure, Flash is all but dead, just nobody has told it. Flash based crap wont work on mobile devices in general
2 - many (most) browsers can handle mp3 streams thanks to the later DNAS 2 series having support for HTML5 audio - so you're stuck with mp3. May not be an issue for you, I just hate 128kbit MP3 that sounds worse than 64kbit HE-AAC, or even 64kbit Opus. And since ALL browsers seem to support Opus, it would make sense that DNAS would support it too - but then, "make sense" is not something DNAS has done in a long time

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Old 6th September 2016, 19:05   #4
Major Dude
dopelabs's Avatar
Join Date: Oct 2006
Location: Silicon Valley
Posts: 539
Send a message via AIM to dopelabs

view source
dopelabs is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

coding, html, m3u, php, stream

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump