jQuery plugin to display YouTube PopUp, responsive & retina, Compatible with WordPress, Vimeo video support, Autoplay support, easy to use.

YouTube PopUp

YouTube PopUp is jQuery plugin to display YouTube or Vimeo in PopUp, compatible with WordPress, jQuery Plugin by Qassim Hassan – Owner of WP Time.

Features

  1. YouTube and Vimeo support.
  2. Easy to use.
  3. Video Autoplay and without Autoplay.
  4. Fully Responsive Style.
  5. Retina Ready.
  6. Easy CSS Customize.

Live Demo

This YouTube Popup with autoplay and this Without Autoplay.

This Vimeo Popup with autoplay and this Without Autoplay.

Download

Download jQuery plugin from Our Server or from GitHub.

Usage

Easy to use, include jQuery and YouTubePopUp plugin and Style:

<link rel="stylesheet" type="text/css" href="YouTubePopUp.css">
<script type="text/javascript" src="jquery-1.12.1.min.js"></script>
<script type="text/javascript" src="YouTubePopUp.jquery.js"></script>
<script type="text/javascript">
    jQuery(function(){
        jQuery("a.bla-1").YouTubePopUp();
        jQuery("a.bla-2").YouTubePopUp( { autoplay: 0 } ); // Disable autoplay
    });
</script>

Now add class to links, for example:

YouTube:
<a class="bla-1" href="https://www.youtube.com/watch?v=L5s0ERQt8ek">With Autoplay</a>
<a class="bla-2" href="https://www.youtube.com/watch?v=L5s0ERQt8ek">Without Autoplay</a>

Vimeo:
<a class="bla-1" href="https://vimeo.com/177871344">With Autoplay</a>
<a class="bla-2" href="https://vimeo.com/177871344">Without Autoplay</a>

You can use video popup in image, just enter image inside link, for example:


<a href="youtube or vimeo video link here" class="bla-1"><img src="your image link here"></a>

Click on this image:

youtube popup

For WordPress use Video PopUp plugin.