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.

Tag cloud
player
TV
2009
terminators
javascript
vim
xspf
php
Yahoo
Technology
code
vi
show
iphone
directory
television
swf
cookies
pictures
track
command
symlinks
event
sync
Konfabulator
position
widgets
ubuntu
mp3
ymp
list
music
mac
enumeration
bash
playlist.com
CES
time
date
audio
seek
Media
playlist
jailbreak
linux
Recent Comments
oxchronxo: I don’t have the raw source anymore.
Stephen: Hi Eric, I’m about to start making some skins for the yahoo media player. I thought I’d ask if...
fehmi: hey update pls
Cho Sung-min: Thank you very very very muchhhhh~~~ i just follow this post then works fine!!
Shreyas: Thanks a lot!! Really appreciate the effort.
Recent Trackbacks
- chronx: Playlist.com + YQL + PHP = true XSPF
- chronx: I went the medibuntu route to get w32codecs and all that but that didn't help. BTW… the medibunti...
- The Fehrenbacher’s: Playlist.com + YQL + PHP = true XSPF
- 4 Free Audio Players to Add Audio to Your Site by ClintLalonde.net: Eric has written a number of...
Blogroll
Coding
- Bash Comparison Operators
- Bash Docs
- Bash File Operators
- Code Conventions
- E4X @ MDC
- E4X @ Yahoo
- ECMA Script
- Git
- Git CheatSheet
- Git Docs
- GitHub
- Javascript Beautify
- Javascript Docs
- Javascript Lint
- jQuery
- JSON
- JSON Beautify
- JSON Lint
- JSON View
- MooTools
- Mozilla Developer Center
- Mozilla Labs
- PHP Docs
- PHP DOM
- PHP SimpleXML
- Pipes
- RegEx Editor
- SVN
- SVN CheatSheet
- SVN Docs
- XML Beautify
- XSPF
- XSPF Docs
- YQL
- YQL Console
- YQL Docs
- YQL Open Data Tables