johndyer/mediaelement — pull request #632 by Fab1en (2012-10-19 08:00:11+00:00)
Title: Playlist and Title display features

Hi John

I'm using your MediaElement js library since a while now and I think it's a really strong help for getting HTML5 audio and video to everybody.

I have used the player for many music artists website (realized with my company, [1nterval](http://www.1nterval.com)): [Roberto Alagna](http://www.robertoalagna.net), [The Puppini Sisters](http://www.thepuppinisisters.com), [the Jazz Masters](http://www.jazzmasters.fr/), [Juliette Gréco](http://www.juliettegreco.fr), [Rolando Villazon](http://www.rolandovillazon.fr/), and others to come !
As you can see on those site, a playlist is displayed when you move the mouse over the note. You can also browser the artist discography and load another playlist from an album tracklist panel [like here](http://www.robertoalagna.net/blog/album/pasion/).
The website listed here are using a custom javascript code to implement this playlist feature, but I have now taken the time to reshape this code into a plugin for MediaElement. You will find the playlist feature itself in src/js/mep-feature-playlist.js and the album name and track title display feature in src/js/mep-feature-title.js. I have also created a demo file if you want to have a quick look at it. I have put more mp3 files from Air Review, so that's why the commit is so heavy, sorry for that.
The playlist management mechanism is separated from the playlist display panel (triggered by the 'playlist' string in the feature array) so that it can be used with a custom playlist display. I have only dealt with the audio player for the moment, but I think that few is missing to adapt it to the video one.

Please tell me what you think about my code. I would be very pleased if you plan to integrate it in a future release.