How do I?

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.



Go Back   Webforumz.com > Community > Introduce Yourself

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 20th, 2006, 11:30
New Member
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Apr 20th, 2006, 13:54
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
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>
Reply With Quote
  #3 (permalink)  
Old Apr 20th, 2006, 14:15
New Member
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4 (permalink)  
Old Apr 20th, 2006, 14:46
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: How do I?

Just link them normally.

If the viewer has the programs installed they will open with them.
Reply With Quote
  #5 (permalink)  
Old Apr 20th, 2006, 17:43
New Member
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6 (permalink)  
Old Apr 20th, 2006, 18:11
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
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.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 21:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43