Yii 1.1: flowplayer

Flowplayer
4 followers

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.

Total 4 comments

#11785 report it
rajesh chaurasia at 2013/02/04 01:46am
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.

#797 report it
Jim_Di at 2010/02/27 07:40am
some fix

in JFlowPlayer.php find class JFlowPlayer extends Widget and replace Widget to CWidget

#813 report it
jerry2801 at 2010/02/25 08:43am
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"

#815 report it
Jim_Di at 2010/02/25 06:27am
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)

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: jerry2801
  • Category: Others
  • Votes: +4
  • Downloaded: 808 times
  • Created on: Jan 28, 2010
  • Last updated: Jan 28, 2010