Results 1 to 2 of 2

Thread: Music On/Off maybe using iframe? - Need code.

  1. #1
    pocopico Guest

    Music On/Off maybe using iframe? - Need code.

    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

  2. #2
    Join Date
    Aug 2009
    Location
    Lutterworth, Leicester
    Posts
    161
    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 - SEO -
    Web Video

Similar Threads

  1. firefox wont refresh an iframe
    By Littlened in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 22 Nov 2006, 03:19 PM
  2. Replies: 0
    Last Post: 29 Sep 2006, 09:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •