PHPackages                             agnis-lv/yii2-videojs-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. agnis-lv/yii2-videojs-widget

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

agnis-lv/yii2-videojs-widget
============================

The yii2-videojs-widget is a Yii 2 wrapper for the \[video.js\](http://www.videojs.com/). A JavaScript and CSS library that makes it easier to work with and build on HTML5 video. This is also known as an HTML5 Video Player.

1.0.2(7y ago)09BSD-3-ClauseJavaScript

Since Jun 24Pushed 7y agoCompare

[ Source](https://github.com/elvenpath/yii2-videojs-widget)[ Packagist](https://packagist.org/packages/agnis-lv/yii2-videojs-widget)[ RSS](/packages/agnis-lv-yii2-videojs-widget/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

yii2-videojs-widget
===================

[](#yii2-videojs-widget)

[![Latest Version](https://camo.githubusercontent.com/b8dbbf8c57110218afd87235082a8c3802941183aee377c584ef4d58c1595043/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7762726167616e63612f796969322d766964656f6a732d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://github.com/wbraganca/yii2-videojs-widget/releases)[![Software License](https://camo.githubusercontent.com/6c324d0bb845bc5b85b46c869926297d6b25f3652c9d3ef94c0f8995b34b65f1/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d425344332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/63e23c37b653ef84ac261e9cb10addbc2d0698d5c26802eb544bb02ea7a6a566/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7762726167616e63612f796969322d766964656f6a732d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wbraganca/yii2-videojs-widget)

The yii2-videojs-widget is a Yii 2 wrapper for the [video.js](http://www.videojs.com/). A JavaScript and CSS library that makes it easier to work with and build on HTML5 video. This is also known as an HTML5 Video Player.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist wbraganca/yii2-videojs-widget "~1.0"

```

or add

```
"wbraganca/yii2-videojs-widget": "~1.0"

```

to the require section of your `composer.json` file.

How to use
----------

[](#how-to-use)

Example 1 - HTML5

```
