YouTubePlayer is a project mainly written in JavaScript, it's free.
MooTools class that wraps the YouTube player JavaScript API.
Simple MooTools class with the aim to provide a simple interface to the [YouTube player API](http://code.google.com/apis/youtube/js_api_reference.html "YouTube JS API reference"), built on top of the Swiff class.
The code is well commented and it should be easy to read. The class serves my needs as it is, but if you need a feature contact me!
I wrote an article describing what this class is for and how to use it. Go to the bottom of the page for a demo that shows more or less what you can do with it.
You will need the core MooTools library and the URI class from More.
The main advantages are: