webtoucher / yii2-flowplayer-flash
Asset Bundle for Yii2 with Flowplayer flash.
Installs: 376
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii-extension
Requires
- php: >=5.4.0
- bower-asset/flowplayer-flash: ~3.2.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-29 04:36:04 UTC
README
This extension provides an assets bundle with Flowplayer flash for Yii framework 2.0 applications.
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require webtoucher/yii2-flowplayer-flash "*"
or add
"webtoucher/yii2-flowplayer-flash": "*"
to the require
section of your composer.json
file.
Usage
In view
echo \webtoucher\flowplayerflash\Player::widget([ 'id' => 'player', 'src' => '/url/to/video.mp4', 'params' => [ 'width' => 640, 'height' => 360, ], ]);
Please read project documentation for more information.