ShowTable of Contents integrate a mp3 player If you like to integrate a mp3 player on your site, you can use the the Yahoo Mediaplayer . Usage is pretty simple, only include this in your XPage source code:
<script>
var YMPParams =
{
autoplay:true,
volume:0.5,
}
</script>
<script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script>
Then add some links to mp3 files somewhere:
<a tabindex="1" href="firstsong.mp3">Title of first song</a>
<a tabindex="2" href="secondsong.mp3">Title of second song</a>
The links get a "play" button automatically, and due to the tabindex attribute the Yahoo player creates a playlist automatically.
More information:
Basic usage: http://mediaplayer.yahoo.com/ Full API: http://mediaplayer.yahoo.com/api/
|