This document demonstrates the basic usage of the Go PlayAlong Audio Player.
| Player 1 | Player 2 | Player 3 | Player 4 |
The API package has to be uploaded on a webserver that's name is listed in the domain lock list. Currently the domain lock list contains 'localhost', 'bandwagonmusic.com.au' and 'schoolofmusiconline.com'. Further domains can be added if required. The purpose of the domain lock technique is to prevent unauthorized publication of the player on other websites.
The web page that embeds the player must reference the gpa/gpa-audio-2.9.js file in the HTML header:
Create an empty block ( e.g. a div or p element ) in the HTML body with a custom id attached. Optionally you can include some text inside the block to be displayed in case the end user's browser doesn't meet the requirements.
Add an onload event handler to your HTML body that will initialize the player.
Initialize the player in the onload event handler by calling the gpaEmbedPlayer JavaScript function.
© 2012 Balazs Forian-Szabo