sachinchoolur / lg-video.js

Video module for lightgallery.

Home Page:https://sachinchoolur.github.io/lightgallery.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

travis bower npm

Video module for lightgallery.js

Full featured javascript gallery. Zero dependencies. lightgallery

Main features

  • Youtube Videos Vimeo Dailymotion VK and html5 videos Support.
  • Supports Videos posters.
  • Supports Videojs.
  • Automatically pause video when navigates to different slides.
  • Option to add Youtube, Yimeo parameters.
  • Automatically load youtube and vimeo thumbnails

Browser support

lightgallery supports all major browsers including IE 9 and above..

Installation

Install with Bower

You can install lightgallery video plugin using the Bower package manager.

$ bower install lg-video.js --save

npm

You can also find lightgallery video plugin on npm.

$ npm install lg-video.js

Download from Github

You can also directly download lg-video from github.

Include Javascript files

Include lg-video plugin after lightgallery.min.js.

<body>
   ---
    <!-- Include lightgallery.js -->
    <script src="js/lightgallery.min.js"></script>
    
    <!-- Include lg-video.js -->
    <script src="js/lg-video.min.js"></script>
    
    <!-- Include other lightgallery plugins (Optional) -->
    <script src="js/lg-thumbnail.min.js"></script>
</body>  

Demos

Docs

Options

License

Commercial license

If you want to use lightgallery.js to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary. Read more about the commercial license

Open source license

If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use this project under the terms of the GPLv3.

About

Video module for lightgallery.

https://sachinchoolur.github.io/lightgallery.js/

License:Other


Languages

Language:JavaScript 100.0%