Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Build a Simple MP3 Player for Your Site
Subject:   Stop When Next Song Played?
Date:   2007-05-28 12:58:33
From:   DavidBattino
Response to: Stop When Next Song Played?

Is there any way to have the currently-playing song stop when a new link is clicked?


Yes. Set all pop-up windows to the same ID. That will cause each new pop-up to replace the last. The newer version of this script (see link at beginning of article) does that. You can do it here by removing the following line:


UniqueID = UniqueID + 1

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Stop When Next Song Played?
    2010-04-07 04:41:15  itzKhurram [View]

    I remove this line uniqueid=uniqueid+1
    is it possible if i select a song then i listen complete can not choose another and can not stop.

    thanks
    Khurram