jQuery plugin for YouTube Video ( jquery.poptrox )

A lightbox gallery plugin for jQuery

Adds lightbox galleries to jQuery. Heavily customizable, easy to use, and built to support images, videos (YouTube, Vimeo, Wistia, Brightcove), Soundcloud tracks, IFRAMEs, and AJAX content.

Requires jQuery 1.7+.
Download url :

https://github.com/ajlkn/jquery.poptrox

Required js file :
jquery.poptrox.min.js

Sample Html :

</pre>
<div id="gallery">
<a href="https://youtu.be/p2chy31yalo" data-poptrox="youtube,800x480">
<img class="" src="img/video-poster.jpg"/>
</a>
</div>
<pre>

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s