Link to specific track
In order to link to the page that contains Wimpy, and play a specific track, you'll have to leverage the "start on track" option, and then add a little jsavascript to the configuration of the player in your page. You'll also have to link into the page that contains Rave using a "query string."
NOTE: This feature is only available for Rave.
In the HTML file that displays rave, add the following line to the rave configuration:
wimpyConfigsXXXXX.startOnTrack=getQueryString()["id"];
Inline, it would appear as:
wimpyConfigsXXXXX.bkgdColor="#FFFFFF";
wimpyConfigsXXXXX.startupLogo="http://www.YOURSITE.org/images/rlogo.jpg";
wimpyConfigsXXXXX.defaultImage="http://www.YOURSITE.org/images/rlogo.jpg";
wimpyConfigsXXXXX.startOnTrack=getQueryString()["id"];
makeWimpyPlayer(wimpyConfigsXXXXX, "flashcontentXXXXX");
... the new line was added just before the line that starts with "makeWimpyPlayer"
Then when making a request for the rave page, add the following query string:
?id=3
... where the number "3" refers to the third track in the playlist.
Example:
To play the third video, the link would be:
http://www.yoursite.com/myWimpy.html?id=3
To play the second video:
http://www.yoursite.com/myWimpy.html?id=2
|