PHPackages                             preneesh/yii2-videojs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. preneesh/yii2-videojs

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

preneesh/yii2-videojs
=====================

Video js implementation in Yii2

1817JavaScript

Since May 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/PreneeshAV/yii2-videojs)[ Packagist](https://packagist.org/packages/preneesh/yii2-videojs)[ RSS](/packages/preneesh-yii2-videojs/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Video js implementation in Yii2
===============================

[](#video-js-implementation-in-yii2)

This extension utilises video js to enable video playing in yii2 application.

Feaures : -Playing youtube videos in yii2 application using videojs. -Playing Mp4 videos in yii2 application using videojs. -Dash streaming in yii2 application using videojs. Dynamic Adaptive Streaming over HTTP (DASH) is an adaptive bitrate streaming technique that enables high quality streaming. Source to be modified with manifest.mpd file as shown in example. -HLS streaming in yii2 applicationusing videojs. HLS stands for HTTP Live Streaming and it uses a .M3U8 playlist file (e.g. manifest file) that serves as an index for the video chunks.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist preneesh/yii2-videojs "dev-master"

```

or add

```
"preneesh/yii2-videojs": "dev-master"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

Play mp4 videos

```

```

Dash Streaming by providing manifest file.

```

```

Play Youtbe video in Yii2 application using below code:

```

```

HLS streaming in Yii2 application using below code:

```
