This extension is ...
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- Extract the release file under
protected/extensions
Usage ¶
See the following code example:
<?php $this->widget('application.extensions.flowplayer.JFlowPlayer', array(
'url' => Html::mediaUrl('video.flv'),
'id'=>'player',
'width'=>'400px',
'height'=>'280px',
)); ?>
Change Log ¶
January 28, 2010 ¶
- Initial release.
User Contributed Notes 4
some fix
in JFlowPlayer.php
find
class JFlowPlayer extends Widget
and replace Widget to CWidget
to Jim_Di
Html is my class, it extend CHtml class,
just like:
class Html extends CHtml
{
public static function mediaUrl($url) { return Yii::app()->baseUrl.'/media/'.$url; }}
Html::mediaUrl('video.flv');
it will be return "/yourapp/media/video.fly"
doesn't work
PHP Error
Description
YiiBase::include(Html.php) [yiibase.include]: failed to open stream: No such file or directory
Source File
C:\Program Files\VertrigoServ\www\yii\framework\YiiBase.php(338)
great
thanks this is a nice extension it works fine. only one bug to fix.
JFlowPlayer extends Widget and replace Widget to CWidget.
and this work fine.
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.