This is a small extension based on a modified version of jquery.flash.js, which in turn is a jQuery plugin for embedding Flash movies.
protected/extensionsSee the following code example:
$this->beginWidget('application.extensions.flash.EJqueryFlash', array( 'name'=>'flash1', 'htmlOptions'=>array('src'=>'http://jquery.lukelutman.com/plugins/flash/example.swf'), ) ); You need Flash Player. <? $this->endWidget('application.extensions.flash.EJqueryFlash'); <? $this->widget('application.extensions.flash.EJqueryFlash', array( 'name'=>'flash2', 'htmlOptions'=>array( 'src'=>'http://jquery.lukelutman.com/plugins/flash/example.swf', 'text'=>'You need Flash Player'), ) );
Total 3 comments
My proposition (I am using this modyfication):
define( 'CHECK_JS_PARAMETERS', YII_DEBUG );
or simply remove this define and check for YII_DEBUG value in code.
and I also added the 'fullScreen' option in line 131:
'allowFullScreen'=>array('type'=>'boolean'),
Thanks, schmunk
It is very easy to use!
I found the Documentation has a mistake:
should be :
Leave a comment
Please login to leave your comment.