wolfguard/yii2-video-gallery
最新稳定版本:v0.1.0
Composer 安装命令:
composer require wolfguard/yii2-video-gallery
包简介
Yii2 module for video galleries with groups (YouTube, Vimeo)
README 文档
README
Yii2 module for video galleries with groups (YouTube, Vimeo)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist wolfguard/yii2-video-gallery "*"
or add
"wolfguard/yii2-video-gallery": "*"
to the require section of your composer.json file.
After running
php composer.phar update
run
yii migrate --migrationPath=@vendor/wolfguard/yii2-video-gallery/migrations
After that change your main configuration file config/web.php
<?php return [ ... 'modules' => [ ... 'video_gallery' => [ 'class' => 'wolfguard\video_gallery\Module', ], ... ], ... ];
Usage
Once the extension is installed, simply use it in your code by:
<?= \wolfguard\video_gallery\widgets\VideoCode::widget(['code' => 'video-gallery-code']); ?>
or make your own widget to display single video or gallery!
统计信息
- 总下载量: 111
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-09-27