Download the PHP package buttflattery/yii2-videowall without Composer
On this page you can find all versions of the php package buttflattery/yii2-videowall. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download buttflattery/yii2-videowall
More information about buttflattery/yii2-videowall
Files in buttflattery/yii2-videowall
Package yii2-videowall
Short Description A Yii2 plugin to display a video wall for videoJS player, and create different layouts for video wall like carousel, thumbnails and playlists.
License
Informations about the package yii2-videowall
Yii2-VideoWall(v1.0)
What is this repository for?
A Yii2 plugin based on idows-videojs-videowall that creates a Video Wall for VIDEOJS video player using three different modes.
- Carousel (Default)
- Thumbnail
- Playlist
For details on the javascript plugin you can visit the link https://github.com/buttflattery/idows-videojs-videowall
External Libraries Used
- Idows VideoJS-VideoWall.
- VideoJs Library
- MustacheJS for Templating
- jQuery v2.2.4
- Fontawesome
- kartik-v/yii2-widget-select2
- Bootstrap v3.3.7
DEMOS
How do I get set up?
use composer to install the extension
or add into the composer.json
file under require
section
Demos
Available Options
-
videoTagOptions (array)
: Attributes for the the default video tag used by videoJs to initialize the player. You can pass the following options for the video tag.class
: Html class for the the video tag.width
: Width for the video tag.height
: Height for the video tag.setupOptions
: The setup options for the video tag used inside thedata-setup
attribute, below are few of the options commonly used by the videoJS player.controls
: Default valuetrue
.autoplay
: Default valuetrue
.preload
: Default valueauto
.
poster (path)
: Path for the default poster for the video tag, use path relative to the web directory.
wallType (string)
:Videowall::TYPE_CAROUSEL
(carousel)Videowall::TYPE_THUMBNAIL
(thumbnail)Videowall::TYPE_PLAYLIST
(playlist)
slideShowDelay (milliseconds)
: integer, default value 2000 ms.videoWallContainer (string)
: container class name for the video wall, default classvideo-wall-container
.containerId (string)
: container id for the video wall slides, default id prefixvideo-wall-slides
.containerClass (string)
: container class name for the video wall slides, default classslides-container
.helpImproveVideoJs (boolean)
:true
orfalse
used by the videoJS player.thumbPageSize (int)
: page size for the thumbnails mode, default value15
.playlistPageSize (int)
: page size for the playlist model, default value8
.loadBootstrapAssets (boolean)
: select if plugin should load the bootstrap assets or use the globally registered yii bootstrap assets, by default this option isfalse
and Yii2 default assets bundle is used.bootstrapCssSource (url)
: url to the bootstrap css file for the plugin to load, this option is effective when you have"loadBootstrapAssets"=>true
.bootstrapJsSource (url)
: url to the boootstrap js file for the plugin to load, this option is effective when you have"loadBootstrapAssets"=>true
.select2Defaults (array)
: default options used for rendring the kartik-v\yii2-select2 plugin, you override them and add you own too look into documentation for the optionsallowClear
: default valuetrue
.theme
: default valuedefault
.width
: default value100%
.placeholder
: default valueSearch Videos
.minimumInputlength
: default value2
.dropdownCssClass
: default valuebigdrop
.
openOnStart (boolean)
: Select if the video wall is open when player is initialized, default value istrue
.callback (function)
: a callback function called by the plugin after initialized.clientEvents (array)
: an array of client events supported by the plugin, you can see the plugin documentation for the supported events, you can use them like below
Usage 1 Carousel Mode
Usage 2 Thumbnail Mode
Thumbnail mode for compact display of the video files along with filter option using the select2 dropdown.
Usage 3 Playlist Mode
Bonus Feature for disaplying th playlists inside the video wall.
Who do I talk to?
All versions of yii2-videowall with dependencies
yiisoft/yii2 Version >=2.0.15.1
kartik-v/yii2-widget-select2 Version @dev