TrackLoop
An example of the finished product is being used on this site
This is my 4th installment to the Yahoo Media Player.
You can find other extensions here.
TrackResume.
TrackSeek.
TrackShuffle.
TrackFocus.
This allows the playlist to repeat after the last song.
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.trackLoop.js" type="text/javascript"></script>
You will also need the following image if you are hosting the files. Otherwise the image is included from the cloud.

Pages
Categories
Tag cloud
playlist
CES
symlinks
code
list
vi
seek
javascript
mp3
player
Technology
TV
widgets
enumeration
cookies
Yahoo
Konfabulator
vim
time
bash
television
position
Media
music
playlist.com
php
date
2009
event
track
swf
directory
show
audio
pictures
xspf
ymp
Links
Recent Comments
Josh: Thank you, curious as to if this stays updated or not.
oxchronxo: I haven’t looked into it in awhile. I’m thinking maybe flash must buffer the entire song...
oxchronxo: Thanks for catching the Fup. I guess it’s been that way for awhile, maybe a month or more. Turns...
Aaron Fooshee: I can’t read the comments. I see there are 27 comments and portions of them show up in the...
Aaron Fooshee: Just what i was looking for. Thanks. P.S. Your script declarations above are missing a &rt; after...
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...
June 21st, 2009 - 20:58
I was wondering how can I make the default value for the player to loop…
These mods are great!thank you…
September 3rd, 2009 - 10:12
Yahoo owes you one. These extensions are superb!
Unfortunately, I suspect the latest Yahoo Media Player is breaking TrackLoop. I verified that the ympRPT cookie is set correctly, but I’ve had no luck getting the player to start over after the last song is over. Any thoughts? Thanks so much!
@Amer: Try modifying the TrackLoop script by changing the initial loop state from “0″ to “1″ and then setting the cookie after “this.loop” is defined.
March 3rd, 2010 - 23:51
With kevin. Lopp doesn’t seem to work. :\