{"id":15089253,"url":"https://github.com/buttflattery/yii2-videowall","last_synced_at":"2025-04-11T16:30:47.225Z","repository":{"id":62498395,"uuid":"150974930","full_name":"buttflattery/yii2-videowall","owner":"buttflattery","description":"A Yii2 plugin to display a video wall for videoJS player, and create different layouts for video wall like carousel, thumbnails and playlists.","archived":false,"fork":false,"pushed_at":"2019-04-14T08:35:25.000Z","size":712,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T06:51:37.186Z","etag":null,"topics":["carousel","javascript","playlist","video-wall-plugin","videojs-plugin","videojs-videowall","videowall","yii2-extension","yii2-widget"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buttflattery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-30T14:35:43.000Z","updated_at":"2023-04-07T19:56:46.000Z","dependencies_parsed_at":"2022-11-02T12:00:44.013Z","dependency_job_id":null,"html_url":"https://github.com/buttflattery/yii2-videowall","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttflattery%2Fyii2-videowall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttflattery%2Fyii2-videowall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttflattery%2Fyii2-videowall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttflattery%2Fyii2-videowall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buttflattery","download_url":"https://codeload.github.com/buttflattery/yii2-videowall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223472814,"owners_count":17150745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carousel","javascript","playlist","video-wall-plugin","videojs-plugin","videojs-videowall","videowall","yii2-extension","yii2-widget"],"created_at":"2024-09-25T08:41:51.306Z","updated_at":"2024-11-07T07:05:30.333Z","avatar_url":"https://github.com/buttflattery.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2-VideoWall(v1.0)\n\n### What is this repository for? ###\n\nA Yii2 plugin based on [idows-videojs-videowall](https://github.com/buttflattery/idows-videojs-videowall) that creates a Video Wall for VIDEOJS video player using three different modes.\n\n* Carousel (Default)\n* Thumbnail\n* Playlist\n\n![delete-single-files](https://yii2plugins.idowstech.com/theme/assets/img/video-wall.jpg)\n\nFor details on the javascript plugin you can visit the link https://github.com/buttflattery/idows-videojs-videowall\n\n### External Libraries Used ###\n* [Idows VideoJS-VideoWall](https://github.com/buttflattery/idows-videojs-videowall).\n* [VideoJs](http://videojs.com/) Library\n* [MustacheJS](https://github.com/janl/mustache.js/) for Templating\n* [jQuery v2.2.4](https://jquery.com/download/)\n* Fontawesome\n* [kartik-v/yii2-widget-select2](https://github.com/kartik-v/yii2-widget-select2)\n* [Bootstrap v3.3.7](https://getbootstrap.com/docs/3.3/)\n\n### DEMOS ###\n- [Carousel](http://yii2plugins.idowstech.com/videowall/carousel)\n- [Thumbnail](http://yii2plugins.idowstech.com/videowall/thumbnail)\n- [Playlist](http://yii2plugins.idowstech.com/videowall/playlist)\n\n### How do I get set up? ###\n\nuse composer to install the extension \n\n```\nphp composer.phar require  buttflattery/yii2-videowall \"@dev\" \n```\n\nor add into the `composer.json` file under `require` section\n\n```composer\n\"buttflattery/yii2-videowall\":\"@dev\"\n```\n### Demos ###\n- [Carousel Mode](http://yii2plugins.idowstech.com/videowall/carousel).\n- [Thumbnail Mode](http://yii2plugins.idowstech.com/videowall/thumbnail).\n- [Playlist Mode](http://yii2plugins.idowstech.com/videowall/thumbnail).\n\n### Available Options ###\n\n- `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.\n\n    - `class` : Html class for the the video tag.\n    - `width` : Width for the video tag.\n    - `height` : Height for the video tag.\n    - `setupOptions` : The setup options for the video tag used inside the `data-setup` attribute, below are few of the options commonly used by the videoJS player.\n        - `controls` : Default value `true`.\n        - `autoplay` : Default value `true`.\n        - `preload` : Default value `auto`.\n    - `poster (path)` : Path for the default poster for the video tag, use path relative to the web directory.\n- `wallType (string)` : \n    - `Videowall::TYPE_CAROUSEL` (carousel)\n    - `Videowall::TYPE_THUMBNAIL` (thumbnail)\n    - `Videowall::TYPE_PLAYLIST` (playlist)\n- `slideShowDelay (milliseconds)` : integer, default value 2000 ms.\n- `videoWallContainer (string)`: container class name for the video wall, default class `video-wall-container`.\n- `containerId (string)` : container id for the video wall slides, default id prefix `video-wall-slides`.\n- `containerClass (string)` : container class name for the video wall  slides, default class `slides-container`.\n- `helpImproveVideoJs (boolean)` : `true` or `false` used by the videoJS player.\n- `thumbPageSize (int)` : page size for the thumbnails mode, default value `15`.\n- `playlistPageSize (int)` : page size for the playlist model, default value `8`.\n- `loadBootstrapAssets (boolean)` : select if plugin should load the bootstrap assets or use the globally registered yii bootstrap assets, by default this option is `false` and Yii2 default assets bundle is used.\n- `bootstrapCssSource (url)` : url to the bootstrap css file for the plugin to load, this option is effective when you have `\"loadBootstrapAssets\"=\u003etrue`.\n- `bootstrapJsSource (url)` : url to the boootstrap js file for the plugin to load, this option is effective when you have `\"loadBootstrapAssets\"=\u003etrue`.\n- `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 options\n    - `allowClear`: default value `true`.\n    - `theme` : default value `default`.\n    - `width` : default value `100%`.\n    - `placeholder` : default value `Search Videos`.\n    - `minimumInputlength` : default value `2`.\n    - `dropdownCssClass` : default value `bigdrop`.\n- `openOnStart (boolean)` : Select if the video wall is open when player is initialized, default value is `true`.\n- `callback (function)`: a callback function called by the plugin after initialized.\n- `clientEvents (array)` : an array of client events supported by the plugin, you can see the plugin [documentation](https://github.com/buttflattery/idows-videojs-videowall) for the supported events, you can use them like below\n```\n\"pluginEvents\"=\u003e[\n    'onBeforeNext' =\u003e 'function(event,dataObj){console.log(event);}',\n]\n```\n\n### Usage 1 Carousel Mode ###\n```php\n\u003c?php\n        use buttflattery\\videowall\\Videowall;\n        echo Videowall::widget([\n            'videoTagOptions' =\u003e [\n                'height' =\u003e \"500\",\n            ],\n            'wallType' =\u003e Videowall::TYPE_CAROUSEL,\n            'videos' =\u003e [\n                [\n                    \"src\" =\u003e \"/PATH/TO/VIDEO.MP4\",\n                    \"mime\" =\u003e 'video/mime',\n                    \"poster\" =\u003e \"/PATH/TO/POSTER.JPG\",\n                    \"title\" =\u003e \"Sweet Sexy Savage\",\n                ], [\n                    \"src\" =\u003e '/PATH/TO/VIDEO.MP4',\n                    'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                    'mime' =\u003e 'video/mime',\n                    'title' =\u003e 'Video 2',\n                ],\n            ]\n        ]);\n```\n\n### Usage 2 Thumbnail Mode ###\n\nThumbnail mode for compact display of the video files along with filter option using the select2 dropdown.\n\n```php\n\u003c?php\n        use buttflattery\\videowall\\Videowall;\n        echo Videowall::widget([\n            'videoTagOptions' =\u003e [\n                'height' =\u003e \"500\",\n            ],\n            'wallType' =\u003e Videowall::TYPE_THUMB,\n            'videos' =\u003e [\n                [\n                    \"src\" =\u003e \"/PATH/TO/VIDEO.MP4\",\n                    \"mime\" =\u003e 'video/mime',\n                    \"poster\" =\u003e \"/PATH/TO/POSTER.JPG\",\n                    \"title\" =\u003e \"Sweet Sexy Savage\",\n                ], [\n                    \"src\" =\u003e '/PATH/TO/VIDEO.MP4',\n                    'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                    'mime' =\u003e 'video/mime',\n                    'title' =\u003e 'Video 2',\n                ],\n            ]\n        ]);\n```\n\n### Usage 3 Playlist Mode ##\nBonus Feature for disaplying th playlists inside the video wall. \n\n```php \n\u003c?php\n        use buttflattery\\videowall\\Videowall;\n        echo Videowall::widget([\n            'wallType' =\u003e Videowall::TYPE_PLAYLIST,\n            'videoTagOptions' =\u003e [\n                'width' =\u003e \"800\",\n                'height' =\u003e \"600\",\n            ],\n            'playlists' =\u003e [\n                [\n                    'name' =\u003e 'Sweet Sexy Savage',\n                    'cover' =\u003e '/PATH/TO/POSTER.JPG',\n                    'videos' =\u003e [\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                    ],\n                ],\n                [\n                    'name' =\u003e 'Hope',\n                    'cover' =\u003e '/PATH/TO/POSTER.JPG',\n                    'videos' =\u003e [\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ],\n                        [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ], [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ], [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ], [\n                            'src' =\u003e '/PATH/TO/VIDEO.MP4',\n                            'poster' =\u003e '/PATH/TO/POSTER.JPG',\n                            'mime' =\u003e 'video/mime',\n                            'title' =\u003e 'Video title',\n                        ]],\n                ],\n            ]\n        ]);\n```\n\n\n\n### Who do I talk to? ###\n\n* buttflattery@hotmail.com\n* omeraslam@idowstech.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttflattery%2Fyii2-videowall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuttflattery%2Fyii2-videowall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttflattery%2Fyii2-videowall/lists"}