- We’ll use WP Video Lightbox plugin for this. So, download the plugin the from here and install. After activation, go to Settings - Video Lightbox. In general option, check “Enable jQuery” if you. Read moreHow to Display YouTube/Vimeo Videos in Lightbox in WordPress.
- Pop up a Vimeo video in a lightbox on page load. This is a demo page of playing a Vimeo video in a lightbox on page load. The lightbox will also automatically close when the video finishes. Click to open a Vimeo video in a Lightbox. The code is as following.
- The Lightbox is an advertising and marketing agency which deals with all types of Graphic Design and 3D animation. The lightbox on Vimeo Join.
- Video LightBox JS is a free wizard program that helps you easily add playing videos on lightbox lightbox video to website, web page or blog, in a few clicks without writing a single line of code. All it takes is 3 easy steps: 1.Add Video, 2.Select Template, 3.Publish.
- Video Lightboxyoutube And Vimeo Videos In Lightbox App
- Video Lightboxyoutube And Vimeo Videos In Lightbox Gallery
- Video Lightboxyoutube And Vimeo Videos In Lightbox Plugin
- Video Lightboxyoutube And Vimeo Videos In Lightbox Photography
In this short tutorial, I am going to show you an easy way that you can display YouTube or Vimeo video in Lightbox.
Display YouTube & Vimeo Videos in a Lightbox. Displaying videos in a lightbox allows users to easily play a video in fullscreen-and exit-without ever leaving the page. After you've located the iFrame embed code for the YouTube or Vimeo video, follow these directions to edit the code to display the video in a lightbox.
Most of us know that YouTube is the most popular platform that we can utilize to generate traffic to a website, but it is also a very good place that you can use to host videos, and then embed them on your website.
However, many people are not sure how to setup, so that YouTubue or Vimeo can be display in Lightbox. In the following tutorial, I am going to share with you an step by step guide on how you can accomplish that.
Table of Content
- 2 Step 2:
Step 1:
Login to wp-admin or dashboard, and then go to Plugins -> add new, search for “WP Video Lightbox” that is By Tips and Tricks HQ, Ruhul Amin, and then click the Install Now button, after that is done, you can go ahead, and click the Activate button.
Step 2:
YouTube Video Implementation:
Go to your YouTube video, and then copy the ID codes. For example, if your YouTube video has the link of youtube.com/watch?v=YTevcWudUDk, YTevcWudUDk will be your YouTube video ID codes. After you have that, you can simply implement is with the following shortcodes:
[video_lightbox_youtube video_id='YTevcWudUDk' width='640' height='480' anchor='click here to open Video']
You can adjust width number and height number to whatever numbers to fit your requirements.
As you can tell, the above shortcode is interpreted so that when people are clicking on “click here to open YouTube video”, and the lightbox video will be displayed. However, what if, you want to display an image, so that when people are clicking on the image, and the lightbox video will be displayed.
To to do that, you just need some adjustments to the shortcode:
Video Lightboxyoutube And Vimeo Videos In Lightbox App
[video_lightbox_youtube video_id='YTevcWudUDk' width='640' height='480' anchor='http://www.siteber.com/images/youtube-thumb.jpg']
So instead of text, you can simply replace it with image url.
Vimeo Video Implementation:
Similarly, if you want to use lightbox on a Vimeo video, the first thing you need to do is find out the video ID, which should just be numbers if you look at your Vimeo url. For example, you have Vimeo of vimeo.com/97360486, 97360486 will be the video ID number.
Video Lightboxyoutube And Vimeo Videos In Lightbox Gallery
For the text display, you can use the following shortcode:
[video_lightbox_vimeo5 video_id='13562192' width='640' height='480' anchor='click here to open Video']
Video Lightboxyoutube And Vimeo Videos In Lightbox Plugin
Video Lightboxyoutube And Vimeo Videos In Lightbox Photography
For the image display, you can use the following shortcode:
[video_lightbox_vimeo5 video_id='13562192' width='640' height='480' anchor='https://siteber.com/images/vimeo-thumb.jpg']
As you can see, it is quite easy to implement a video lightbox in WordPress. Hopefully, this short tutorial is clear for anyone who is having trouble to setup a video lightbox on his or her WordPress site. As always, if you have any question, feel free to leave a comment below, or if you have a better solution, please let me know.