dev-master
9999999-devA complete HTML/CSS audio/video player built on top MediaElement.js and jQuery. For Yii2.
MIT
The Requires
extension yii2 video video player mediaelement audio player videoplayer audioplayer html video
A complete HTML/CSS audio/video player built on top MediaElement.js and jQuery. For Yii2.
A complete HTML/CSS audio/video player built on top MediaElement.js and jQuery. For Yii2., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist maksyutin/yii2-mediaelement "*"
or add, (*4)
"maksyutin/yii2-mediaelement": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?= maksyutin\mediaelement\AutoloadWidget::widget([ 'mediafile' => BaseYii::getAlias('@web').'/video/emailcap.mp4', 'width' => 849, 'height' => 478, 'title' => 'Title', 'modal' => true, 'playerOptions' => [ 'defaultVideoWidth' => 480, 'defaultVideoHeight' => 270, 'keyActions' => '[]', 'enableKeyboard' => true, ] ]); ?>
A complete HTML/CSS audio/video player built on top MediaElement.js and jQuery. For Yii2.
MIT
extension yii2 video video player mediaelement audio player videoplayer audioplayer html video