PHPackages                             ilis/yii2-lazy-youtube - 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. ilis/yii2-lazy-youtube

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

ilis/yii2-lazy-youtube
======================

Accelerates the pages loadings with youtube videos using lazy load method

v1.0.2(9y ago)035BSD-3-ClauseCSS

Since Nov 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/stellio/yii2-lazy-youtube)[ Packagist](https://packagist.org/packages/ilis/yii2-lazy-youtube)[ Docs](https://github.com/stellio/yii2-lazy-youtube)[ RSS](/packages/ilis-yii2-lazy-youtube/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Yii2 Lazy YouTube Loader
========================

[](#yii2-lazy-youtube-loader)

YouTube lazy load. Accelerate page loading with youtube video.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist ilis/yii2-lazy-youtube "*"

```

or add

```
"ilis/yii2-lazy-youtube": "*"

```

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

Usage
-----

[](#usage)

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

```
