Looking for a good open source video player, I found Projekktor Zwei. A very good HTML 5 video player with the following amazing features:
And best of all... doesn't force you to have its logo display and is FREE. So, I decided to easy the task of its integration into the views by creating this simple widget. Hope you find it useful.
Developed using 1.1.9
Unzip the contents of the zip file onto your protected/extensions folder - you can use any other folder but then make sure you point to the right path on the creation of the widget.
$this->widget('ext.projekktor.EProjekktor', array( 'id'=>'pplayer', 'isYoutubeVideo'=>true, 'options'=>array('controls'=>true), 'htmlOptions'=>array( 'src'=>'http://www.youtube.com/watch?v=pc0mxOXbWIU', 'title'=>'test', 'width'=>220, 'height'=>124 ), 'logoImage'=> 'images/layout/logo_player.png' ));
Please make use of the forum post to report errors, requests, and suggestions. Let comments on this extension for coding hints.