|
![]() |
#1 |
Junior Member
Join Date: Jul 2012
Posts: 4
|
Creating a html5 player
Hi Guys,
We are creating a custom HMTL5 player but we need to get the streams in some standard formats. for example, we have an 80s station here: http://50.7.224.250:10028/ but how do I get the streams with an extension that ends like this: http://50.7.224.250:10028/stream.mp3 or http://50.7.224.250:10028/stream.ogg Is this possible? David |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Oct 2008
Location: Jacksonville, FL
Posts: 72
|
For MP3 Streams your link will look like this "http://50.7.224.250:10028/;" (No quotes).
You can try adding stream.mp3 or stream.ogg after the ; but that most likely won't work, as it's not really changing the format of the stream itself. I would recommend having some sort of fallback, because not all browsers at this point fully support the HTML5 Audio attribute. |
![]() |
![]() |
![]() |
#3 |
Join Date: Sep 2003
Posts: 27,873
|
doing /;stream.mp3 or /;stream.ogg should do it with a v1 DNAS (as you seem to be using). if using a v2 DNAS then you could do it natively via the streampath option.
however, i hope you're not trying to do as you've actually posted and fool the player into thinking it's getting an ogg stream when it's an mp3 stream (that will not work). and i assume you're taking into account the massive disparity in what the different html5 audio implementations support when it comes to codec support (or rather the lack of codec support). -daz |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jul 2012
Posts: 4
|
Yes, it's all a learning curve...
This is we are now using... http://50.7.224.250:10028/;stream/1 And... http://www.onlineshoutcast.com:8068/;stream/1 both are working fine, we have everything working on ipad/iphone and desktop. Now if only we could extract the id3 tags Thanks for your help. David |
![]() |
![]() |
![]() |
|
Tags |
extension, file, file extension, ogg |
Thread Tools | Search this Thread |
Display Modes | |
|
|