TrackFocus
Posted by oxchronxo
An example of the finished product is being used on this site
This is my 5th installment to the Yahoo Media Player.
You can find other extensions here.
TrackResume.
TrackSeek.
TrackShuffle.
TrackLoop.
This forces the currently playing track to be highlighted and scrolled to in the playlist
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.trackFocus.js" type="text/javascript"></script>
2009-01-07
Scrolling is now animated.
TrackLoop
Posted by oxchronxo
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.

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.

TrackSeek
Posted by oxchronxo
An example of the finished product is being used on this site
This is my 2nd installment to the Yahoo Media Player.
You can find other extensions here.
TrackResume.
TrackShuffle.
TrackLoop.
TrackFocus.
After posting to a few forums I realized people were also looking for a way to control the seek position in the player. So here it is.
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.trackSeek.js" type="text/javascript"></script>
2009-01-06
Moved the slider into the main meta panel. Thanks to Stephen Garcia for a little insight into the future state.
Also changed the default color of the slider to a muted grey which matches the playlist and added a highlight color which matches the other greens.
TrackResume
Posted by oxchronxo
An example of the finished product is being used on this site
This is my 1st installment to the Yahoo Media Player.
You can find other extensions here.
TrackSeek.
TrackShuffle.
TrackLoop.
TrackFocus.
I use a media player on my site for listening to my music wherever I am. For the longest time I was using the flash based version from Lacy Morrow. At some point I wanted to have more than one playlist and so the search began for an alternative that had basically the same features. It needed the following criteria to be met in order for me to use it.
- small UI footprint
- xspf playlist support
- autostart
- autoresume
My search turned up only disappointment. Then someone at work suggested I give Yahoo's MediaPlayer a try. They suggested EasyListener, but as I searched for this I found a gem; (Y)ahoo (M)edia (P)layer. YMP had everything I wanted excpet that it did not support resuming tracks from page to page. This was a crucial feature I had become dependent on over the years from using Lacy's jukebox.
I read the threads and found that the team was working on this feature, but had no ETA on a good solution. And then... came... trackResume.
This is a little script I wrote that provides track seek recording and resuming. There is obviously a gap in the music when a page reloads, but this is as close as you're going to get without having something running in the browser itself or a frame.
OK, so let's get to it.
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.trackResume.js" type="text/javascript"></script>
2008-12-21
Corrected problem where pressing pause then play would cause the song to start from the beginning.
2009-01-06
Volume now remains at the last point you adjusted it when resuming tracks.
Tag cloud
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