Download the PHP package nterms/yii2-mediaelement-widget without Composer
On this page you can find all versions of the php package nterms/yii2-mediaelement-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nterms/yii2-mediaelement-widget
More information about nterms/yii2-mediaelement-widget
Files in nterms/yii2-mediaelement-widget
Download nterms/yii2-mediaelement-widget
More information about nterms/yii2-mediaelement-widget
Files in nterms/yii2-mediaelement-widget
Vendor nterms
Package yii2-mediaelement-widget
Short Description MediaElement.js widget for Yii2
License MIT
Homepage https://github.com/nterms/yii2-mediaelement-widget
Package yii2-mediaelement-widget
Short Description MediaElement.js widget for Yii2
License MIT
Homepage https://github.com/nterms/yii2-mediaelement-widget
Please rate this library. Is it a good library?
Informations about the package yii2-mediaelement-widget
yii2-mediaelement-widget
MediaElement.js widget for Yii2
Usage
<?= \nterms\mediaelement\MediaElement::widget([
'id' => 'video-id',
'sources' => [
['src' => 'rtmp://stream.server.domain:1935/stream-name/mp4:video-file.mp4', 'type' => 'video/rtmp'],
['src' => 'http://stream.server.domain:1935/stream-name/mp4:video-file.mp4/playlist.m3u8', 'type' => 'application/x-mpegURL'],
// Other source files goes here
// ['type'=>"video/ogg", 'src'=>"myvideo.ogv"],
// ['type'=>"video/webm", 'src'=>"myvideo.webm"],
// ['type'=>"video/mp4", 'src'=>"myvideo.mp4"],
],
'tracks' => [
['kind'=>"chapters", 'src'=>"chapters.srt", 'srclang'=>"en"],
['kind'=>"subtitles", 'src'=>"subtitles.srt", 'srclang'=>"en"]
],
'width' => 320,
'height' => 180,
'poster' => 'http://image.url/sample.png',
]); ?>
All versions of yii2-mediaelement-widget with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package nterms/yii2-mediaelement-widget contains the following files
Loading the files please wait ....