jPlayer

jQuery mp3 player plugin

This version has been superseded by a new release.
Please use the navigation bar above to access the latest version.

Multi instanced jPlayer

In this demo jPlayer is instanced twice on the page, demonstrating how multiple instances of jPlayer may be used on the same page.

Using a technique such as this, the 2nd instance could be hidden from view and an advertisement automatically played when the song finishes.

jPlayer instance 1:

This instance will auto-play when ready. When finished, the playHead(0) command is sent to instance 2.

  • play
  • pause
  • stop
  • min volume
  • max volume
Stirring of a fool

jPlayer instance 2:

This instance is waiting for you to click play before begining the download and playing. Otherwise it will auto-play when instance 1 has finished playing. When finished, the playHead(0) command is sent to instance 1.

  • play
  • pause
  • stop
  • min volume
  • max volume
Hidden

Tracks courtesy of Miaow MiaowMusic.com

Help us improve jPlayer

Discuss

ActionScript 2 Compiler