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.

Tag cloud
ubuntu
pictures
php
CES
seek
cookies
Technology
time
ymp
audio
Yahoo
sync
music
event
javascript
show
enumeration
playlist
widgets
vi
Media
position
xspf
2009
code
mac
mp3
track
directory
bash
jailbreak
television
playlist.com
swf
date
player
terminators
Konfabulator
list
iphone
TV
symlinks
line endings
command
vim
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

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. :\
August 11th, 2010 - 06:35
…seems it does not work anymore!
November 19th, 2010 - 06:37
hey
update pls