This is a discussion on "How do I?" within the Introduce Yourself section. This forum, and the thread "How do I? are both part of the Community category.
|
|
|
|
|
![]() |
||
How do I?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
How do I?
Hi folks,
Just joined today. I'm here more to be assisted than to assist but hopefully that will change through time. I'm trying to put together a page that can play MP3s in real player and WMP. I was trying to use this code from http://www.scottstapp.com/music.html to play my own tunes......... <tr> <td><img src="images/music/justify.gif" width="88" height="12"></td> <td><divalign="center"><ahref="http://play.rbn.com/url=windup/windu....rm&proto=dual"onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11611','','images/music/realOn.gif',1)"><imgsrc="images/music/real.gif"name="Image11611"width="40"height="9"bord er="0"id="Image1161"></a></div></td> <td><divalign="center"><ahref="mms://windup.wmod.llnwd.net/a68/o1/scottstapp/audio/justify_2min.wma"onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11711','','images/music/winOn.gif',1)"><imgsrc="images/music/win.gif"name="Image11711"width="33"height="9"borde r="0"id="Image1171"></a></div></td> <td><div align="center"><a href="#" onClick="MM_openBrWindow('lyrics/justify.html','','scrollbars=yes,width=400,height= 450')"><imgsrc="images/music/lyrics.gif"width="55"height="9"border="0"></a></div></td> </tr> But I can't get it to work. I understand about the images part of the code but can I just change the ahref link to..... <ahref="http://mywebsite.com/url=folder1/folder2/mysong.rm to play in Real player and..... <ahref="mms://mywebsit.com/folder1/folder2/mysong.wma to play in WMP? Also do I need to change my MP3 file to another type of file for each player? Do I need to upload the file to a server to test it? And last but not least what is mms:// Sorry for all the questions, Hope someboby can help and thaks in advance, Newbie, DAL79 |
|
|
|
|||
|
Re: How do I?
All you need to do is link to the files normally.
The browser takes care of the rest: <a href="path/to/your/mp3/track" title="my mp3 track">Listen Here!</a> |
|
|||
|
Re: How do I?
Thanks,
But any idea how I get the file to open in Real Player and alternatively WMP? If you could have a look at this website, I would like to achieve this... http://www.scottstapp.com/music.html |
|
|||
|
Re: How do I?
Just link them normally.
If the viewer has the programs installed they will open with them. |
|
|||
|
Re: How do I?
I get that, I think...
What is the rm extention at the end of the Real audio file in the original piece of script I posted? Can I just replace the mp3 extention with rm? Apologies for my ignorance. |
|
|||
|
Re: How do I?
No it needs to be the format :P encoded.
rm is a real media format. mp3 is music format. If you have a track. Music4.mp3 You cant link it like this <a href="Music4.rm">Listen Here!</a> It will look for that specific extension on your server and not find it. |
![]() |
| Thread Tools | |
|
|