![]() |
#1 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
Embed media player on website using an m3u extension.
Ok I know this is simple but still I need help.
Ok I have a website where I already have an embeded media player that autostarts. So what I would like to do is use this url >> //76.xxx.xx.x:8000/mountpoint.m3u in the media player HTML on my website. So that when my page opens up the media player will simply autostart my live streaming winamp playlist. I'm also not even sure if I'm using the correct extension. I'm using Oddcast with Icecast. I just need help finding out either the right extension that will work with an embeded media player that will autostart. Or something isn't right with my Oddcast/Icecaset configuration. If I'm in the wrong place please help guide me in the right direction. Any help is gladly appreciated. |
![]() |
![]() |
![]() |
#2 |
First let me say that there is absolutely no way to embed Winamp itself into a web page.
Now, that geing a "given"... First, read this. JonnyMac links to several alternative methods there. Next, let's look at a few things you said...
I'll quote from myself here from one of the links that JonnyMac referenced above... My recommendation and what I use extensively throughout my site..._________________________________________________ OK, now to your wish for autostarting... In the article I referenced above, toward the bottom of that article, under the "Cross-browser Media Player object/embed code" section, I also show how you can autostart the M3U playlist file. There ya go! Problem sorted/solved! ![]() Question answered! ![]() _________________________________________________ * NOTE TO MODERATOR... Can a mod please move this out of Winamp Tech Support to a more appropriate forum? Thanks! ![]() Don't email or PM me concerning Winamp. Instead, either start a NEW TOPIC or post a REPLY in the appropriate thread in these forums. This will also benefit others who may have a similar question or problem. But before posting, please first Search the forums and read all FAQs and all Sticky threads. [ LINE RIDER! | My Resume | Virtual Chess | Composite Sketch | My Niece's Band ] [ Plugins by Joonas | DrO's Winamp Plugins and Extras | K-Jöfol ] |
|
![]() |
![]() |
![]() |
#3 |
ADDENDUM:
DJCMusicGroup... Although not what you asked for (that question/problem has already been solved), you may also be interested in this, so I figured I'd throw it in... How to create an Automated Jukebox Who knows? You may find use for that too. ![]() |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
Thanks for the response.
Ok let me first of explain a little further what I'm trying to do. I fully understand the playlist and jukebox methods you provided. I'm not trying to embed Winamp. It's Media Player that I have embeded. But what I'm trying to accomplish is Using winamp LIVE meaning I will be Dee jaying Live on winamp "selecting tracks LIVE". Secondly I would like to stream this audio LIVE with the help of the Icecast server and Oddcast plugin. I should be able to use the URL provided by Icecast to autostart it on my webpage using windows media player. Correct? Pretty simple right, basically I'm using winamp as a live radio and then streaming it on my website using the embeded autostart windows media player. Because everyone has Media player. So far I got Icecast and Oddcast fully recognizing each other. I made sure it was working by logging into Icecast and the connection is all OK. The problem I'm having is either my port isn't set correct but my media player must have the incorrect url. I used this //76.xxx.x.xx:8000/DJCRADIO.mp3 and this //76.xxx.x.xx:8000/DJCRADIO.m3u and the media player can't open the url. I checked the mountpoint and it's correct. I'm having so much trouble finding the correct Icecast URL to put in the media player. Here's the Media player Tag. <OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="220" height="55"> <param name="fileName" value="http://76.109.1.50:8000/DJCRADIO.mp3"> <param name="animationatStart" value="true"> <param name="ShowStatusBar" value="true"> <PARAM name="ShowDisplay" VALUE="false"> <param name="transparentatStart" value="true"> <param name="autoStart" value="true"> <param name="showControls" value="true"> <param name="Volume" value="-300"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://76.109.1.50:8000/DJCRADIO.mp3" name="MediaPlayer1" width=220 height=55 autostart=1 showcontrols=1 ShowControls="1" ShowStatusBar="1" ShowDisplay="1" volume=-300> </OBJECT> I think my main problem is having media player recognize Icecast. Yea that's it, I need the media player to see the Icecast extension so that it'll play LIVE on my website. lol It sounds so simple but so hard to accomplish. Well for me. ![]() Last edited by DJCMusicGroup; 5th March 2008 at 06:18. |
![]() |
![]() |
![]() |
#5 |
//76.xxx.x.xx:8000/DJCRADIO.m3u
See above? Not a valid URL. I can't test it for you or show you working code without a valid URL. [edit > JonnyMac] Moved as requested to General Discussions. Apparently this not SHOUTcast related, despite this being related to internet radio. | Hello Nunzio ![]() |
|
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
|
![]() |
![]() |
![]() |
#7 |
OK. You supplied this...
http://76.109.1.50:8000/DJCRADIO.mp3 But that is the MP3 file itself. For streaming purposes, what is the name of the M3U file that contains the above info? That is what's needed in the code - the M3U file itself (I also indicate this info in my article I linked to above). [EDIT] Aaach! You edited your post and supplied the M3U link above after I submitted my reply... http://76.109.1.50:8000/DJCRADIO.m3u But I am unable to connect to the host server at present, so there is no way for me to test right now, and to supply the needed code. |
|
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
EDIT:
Give me a minute to change it to the .m3u extension and try again. When I change them to this http://localhost:8000/DJCRADIO.mp3 they work. I was told to leave it localhost as a hostname in the icecast config. and the Oddcast server IP is also localhost. But I was told to use my IP instead of local host only in the URL. So I'm confused should I change the host name and server IP to my IP address 76.xx.xxx.xx???? |
![]() |
![]() |
![]() |
#9 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
EDIT: OK I changed it to .m3u in the media player TAG.
Still it doesn't work. Media player fails to open the link. Yea I read in your tutorial on using the m3u extension for playlist listeners. but I thought that was for manually listed playlist saved on the website server then with the m3u extension will link it to the mp3's saved that were manually listed. I can't imagine manually listing each song that will be played on my playlist that will take forever like I got over 100 beats and songs. I just don't get it why this will apply to me. My playlist is live on Winamp it's constantly changing on the fly. Unless I'm not quite understanding this m3u extension?? |
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
Anyone here understand what I'm trying to do. If so
I would really appreciate if you could provide me step by step instructions.. Thanks |
![]() |
![]() |
![]() |
#11 |
Junior Member
Join Date: Mar 2008
Posts: 7
|
![]() I got it fixed. |
![]() |
![]() |
![]() |
#12 |
Junior Member
Join Date: Sep 2007
Posts: 20
|
I GOT IT FIXED?
Well its like reading a book and someone tears the last page out?? Do you think it could help others by saying how you "got it fixed"?
Thanks |
![]() |
![]() |
![]() |
#13 |
Junior Member
|
Lol
I think there issue was that there url was still setting local host or there router was blocking the port. to the internet so visitors couldn't connect to the actual media.
|
![]() |
![]() |
![]() |
#14 |
Junior Member
Join Date: Jun 2011
Posts: 1
|
help me
ok so i got everything i need but im lost like the post above. i cant figure out how you got your media player to open and play the music on your site. so if by any chance you can let me know something it would be great! I use a program called SAM BROADCASTER 4 for auto DJ'ing. Im wondering if someone can explain in dumb terms (lol) how to get it set up where media player can play on the site. i have the media player on the site but nothings playing. so there for its not knowing the fact that its coming from icecast. something is either blocked or a bad code was put in. i dont know how to write the embed codes so if by chance someone can help out that would be great. any more info i need to add please let me know.
thanks, chris Last edited by rockin batman; 25th June 2011 at 22:10. Reason: not enough information |
![]() |
![]() |
![]() |
#15 | |
Junior Member
Join Date: Jul 2011
Posts: 5
|
Quote:
but i can't connect it ? |
|
![]() |
![]() |
![]() |
#16 |
Junior Member
Join Date: Dec 2015
Posts: 2
|
I had a similar issue after trying to embed a player on my site and not being able to have it play remotely. I used the muses.org autoconfig but changed the IP address from http://localhost:8000/stream.ogg to http://myipadress:8000/stream.ogg in the code inserted into my website. Now works perfectly. I know this is an old post, but with an unanswered question. Hope it helps.
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|