chronx Find something you love to do and you'll never have to work another day for the rest of your life

6Jan/091

TrackShuffle

Posted by oxchronxo

An example of the finished product is being used on this site

This is my 3rd installment to the Yahoo Media Player.

You can find other extensions here.
TrackResume.
TrackSeek.
TrackLoop.
TrackFocus.

This provides random shuffling of songs in your playlist. It could allow a song to play again after 20 other different songs have played.

Step 1) grab these files and drop them on your host

Both of these files need to be included after the Yahoo Media Player. The file ‘ef.ymp.utilities.js’ is needed for manipulating cookies, setting styles, and using MD5 hashes to store UIDs for the tracks.

<script src="http://github.com/oxchronxo/YMP/raw/master/ef.ymp.utilities.js" type="text/javascript"></script>
<script src="http://github.com/oxchronxo/YMP/raw/master/ef.ymp.trackShuffle.js" type="text/javascript"></script>

You will also need the following image if you are hosting locally. Otherwise the image is included from the cloud.