Log In · Register

 
Mp3 Playing/Downloading
JlIaTMK
post Mar 31 2005, 10:46 PM
Post #1


Senior Member
*******

Group: Member
Posts: 7,048
Joined: Jun 2004
Member No: 22,696



Okay, I am fairly sure that when you do a regular link such as

CODE
<a href="music.mp3">My Song</a>


That is SHOULD play the song [as in going to a media player].

But my links, that I uploaded onto my server, go the the downloading screen that says [open, save, close] (just like any other downloading screen).

Do you know what the problem may be?

If you can help, I would like to know the code that will play my mp3 file urls [and im 100% sure they're mp3 files].

Thank You
--Jordan
 
 
Start new topic
Replies
IGB
post Mar 31 2005, 10:54 PM
Post #2


New Type
****

Group: Member
Posts: 145
Joined: Mar 2005
Member No: 119,960



it gets a little complicated.

There are simple codes, but that is only if you want the file to start playing by itself when the page loads, OR have a control panel on it to tell it to start.
The control panel is troublesome, coz depending on the default media players everyone has, it looks different for everybody and hard to blend into design.

either way, here's the code:

(you can turn autostart off, specify width and height for a control panel)

if you want a link sort of thing to play music when you click on it. then it involves some other tricks. like creating 1x1 iframe and load hidden music pages in there. stuff like that
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: