Yuplay is a project mainly written in JAVASCRIPT and PHP, it's free.
YuPlay: create playlist from youtube videos and play them
Create playlists faster than you do at youtube, and play them, and have a way to store them for later replays ;)