|
||||
| home > wimpy MP3 player > documentation > API | www.wimpyplayer.com | |||
Server Side
Client Side
HTML display
|
trackPlays(PHP) trackPlays -- Returns information about each file that is played. Usagewimpy.php?trackPlays=http://www/path/to/tracking_app.php DescriptionThis option allows you to set up a script that gets "pinged" each time a track is played. HINT: If you are using an XML playlist, you have the option of including extra tags to each <item>. Any extra tags that are included will also be returned.. To use this option, enter the URL to a script that can receive and process token pairs that Wimpy issues. We have developed a simple example so that you can get a feel for how the information is transmitted from Wimpy to the script that you define with this option. You can download the "Track Plays" example by clicking here. WARNING: The example provided above is NOT secure. It is provided so that you can get a feel for how the information is returned to your script. We have not developed a "standardized" application to handle "track plays" or "votes" because each webmaster has a different set of requirements. It is up to you to create a script to conform to the way you would like to track the information. If this option is set, Wimpy will return all the information that it has received about each file. Wimpy will return the information about each file that is played using a standard "GET": action : trackPlays If the getMyid3info option is not used, some of the information listed above will not be returned. Wimpy will also return three additional tokens: action, flashlistID and entity. action flashlistID entity
.
|
©2002-2008 Plaino.