chronx code and stuff

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.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • Add to favorites
  • BlinkList
  • Diggita
  • Diigo
  • email
  • FriendFeed
  • Global Grind
  • HackerNews
  • LinkedIn
  • Linkter
  • MyShare
  • MySpace
  • Netvibes
  • Ping.fm
  • Propeller
  • RSS
  • Simpy
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Buzz
Comments (3) Trackbacks (0)
  1. I was wondering how can I make the default value for the player to loop…

    These mods are great!thank you…

  2. 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.

  3. With kevin. Lopp doesn’t seem to work. :\


Leave a comment


Security Code:

No trackbacks yet.