|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2005
Posts: 12
|
how do you insert a windows MINIPLAYER into your webpage to play your radio station?
plz help
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jan 2005
Posts: 12
|
all i need is a HTML Code. plz people
|
|
|
|
|
|
#3 |
|
FRISIAN (MOD)
Join Date: Sep 2003
Location: in a house
Posts: 16,103
|
grow some patience , use forum search function with keywords embeded players. sure thing you find what you need.
|
|
|
|
|
|
#4 |
|
Junior Member
|
You need 2 things:
1) an .asx file to have the WiMP to play
2) embed code in your html 1 -- save this as an .asx file (whatever.asx) using notepad and configure the code below to your server specifications: <asx version="3.0"> <entry> <title>Your preferred title</title> <author>Your preferred author</author> <ref href="http://yourIP:yourPORT/"/> </entry> </asx> save that as an .asx file. eaxample: wmp.asx is what i use *********************************** *********************************** 2) embed html for your page: <embed src="whatever_you_chose_as_the_prefix_mentioned_above.asx" width="68" height="28" align="middle"></embed> *********************************** *********************************** Fairly straight forward stuff I hope John |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
|
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jan 2005
Posts: 12
|
so...should it be like that?...
<embed src="whatever_you_chose_as_the_prefix_mentioned_above.asx" width="68" height="28" align="middle"> <asx version="3.0"> <entry> <title>Your preferred title</title> <author>Your preferred author</author> <ref href="http://yourIP:yourPORT/"/> </entry> </asx> </embed> and then to upload it in my website...and thats it?? |
|
|
|
|
|
#7 |
|
Junior Member
|
Only 2 things are happening:
First, you are creating a single, independent file to upload to your web server. This is the "change_me_to_what_i_want_it_to_be_named.asx". This file is created in say, notepad or wordpad by simply typing this in the blank new text document you have when running notepad or wordpad:
*********************************************** <asx version="3.0"> <entry> <title>Your preferred title</title> <author>Your preferred author</author> <ref href="http://yourIP:yourPORT/"/> </entry> </asx> *********************************************** Now after pasting this in a new text document, change the information to match your specific setup; Like the name, author and of course your shoutcast server IP and the port. Now you have to save the file so that it has the .asx suffix and not the .txt or .doc suffix. Try naming it wmp.asx, or your choice.asx. Look at this file in windows explorer to be sure it did in fact save as an .asx file. If so, upload this to your webserver site, remembering the name and the location of where you uploaded the .asx file to. Now put this snippet of code below in the html page wherever you want it. Remember here that the location of the xxx.asx file you just uploaded must match the setup you have on your remote server- I for example uploaded my .asx file in my root folder (home folder where my homepage or index page is). ************************************************ <embed src="whatever_you_chose_as_the_prefix_mentioned_above.asx" width="68" height="28" align="middle"></embed> ************************************************ Change this file name and path to suit your situation. My example would be 'src="http://www.wlma.net/wmp.asx"...all depending on where this .asx file is in relation to the site folder directory on your website. Give that a try |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jan 2005
Posts: 12
|
i dont want to bother you, but it didn;'t worked!!
here is the link : http://basilonline.250free.com/index.html try it...!! |
|
|
|
|
|
#9 |
|
Junior Member
|
According to your source in that url, your asx file was saved as wmp.asx. Correct? Also shows that the asx file was saved in your root folder. Correct? Is the ip and port correct in the wmp asx file?
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jan 2005
Posts: 12
|
everything is Correct!!!
and the ip and port are are correct in the wmp asx file...but its not working!!:S |
|
|
|
|
|
#11 |
|
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
Remove the "listen.pls" ref from the .asx file.
The line should just read: <ref href="http://212.235.22.74:8000" /> That would work under normal circumstances, but your stream doesn't appear to be up and running at the moment (getting "timed out" error in winamp). By the way, if you want more controls and/or a full embedded wmp window, then check out the link posted by nick@ss above. For compatibility with all browsers you should also use the <object> tag/code. Just click the "Windows Media Audio" button on that page, then type in your stream url:port (or link to .asx playlist) in the "file source" box, change the drop-down menu from 'no' to 'yes' for the wmp style of your choice, then click the "generate wm audio player" button to get all the required code. Couldn't be simpler, heh. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|