Old 5th September 2016, 18:21   #1
pi7bulla
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:

DONE:
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
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Have a quick look at this.
http://forums.winamp.com/showthread....42#post2780142
thinktink is offline   Reply With Quote
Old 6th September 2016, 06:24   #3
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
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

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 6th September 2016, 19:05   #4
dopelabs
Major Dude
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 531
Send a message via AIM to dopelabs
https://dlnetworks.net/player/

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

Tags
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