PDA

View Full Version : Music On/Off maybe using iframe? - Need code.



pocopico
05 Apr 2010, 08:17 AM
Hello everybody. I'm new to the forum. I have a question.

There is a page somewhere in the web that plays music
I want to use this music to my website like that:
I want to have a button (gif image, not text) like "Music On" when playing the music from the music site, and if the user clicks on it, to close the connection with the music site and load the "Music Off" image.


Is this possible with an iframe?
Can you please help me with this code?

Thanks in advance.

P.S. Sorry for my bad english

Nick

michaelangrave
06 Apr 2010, 05:07 AM
Hi,

The best way to do this would be to upload a copy of the mp3 to your server and play the sound locally. If you don't have permission to use this, then I would stay clear personally.

The best method for doing this would be to have the tracked called remotely, iFrames could be used, but you'd be better off having the player files hosted locally.

Have you got a link to the track and will it be subject to change?

Michael.

_____________________________________________________________________________Web Design (http://www.crearedesign.co.uk) - SEO (http://www.crearecommunications.co.uk) -
Web Video (http://www.webvideostore.co.uk)