webtoucher/yii2-flowplayer-flash

Asset Bundle for Yii2 with Flowplayer flash.

0.1.0 2017-01-19 22:12 UTC

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.

Latest Stable Version Total Downloads Daily Downloads Latest Unstable Version License

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.