clearPlaylist

 

Removes all items from the playlist.

clearPlaylist()

 

Parameters

none

 

Return Value

none

 

See Also

 

Examples

<script>
// Establish a player
var myPlayer = new wimpyPlayer({media:"foo1.mp3|foo2.mp3|foo3.mp3", sort:"none"}); </script>
<!-- A simple javascript link to clear the playlist -->
<p><a href="javascript:myPlayer.clearPlaylist();">Clear Playlist</a></p>