prawee / yii2-videojs-widgets
Yii2 Extension for Generating Video Embed Codes from Video URLs . Such as Youtube etc.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-01-12 07:14:03 UTC
README
Yii2 Extension for Generating Video Embed Codes from Video URLs . Such as Youtube etc.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist prawee/yii2-videojs-widgets "*"
or add
"prawee/yii2-videojs-widgets": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \prawee\videojs\VideoJS::widget(); ?>```