How do I open a YouTube video in lightbox?
At the moment when I press play it just plays directly off the page.
I tried using the Text field and adding:
YouTube URL
YouTube Short URL
YouTube Embed code.
I also tried using the Video field but does the same thing.
I did try image and it works but I don’t want to use image as I want to video’s thumbnail to show and not a custom image.
Any advice?
Hey Kingzy!
You would just link to the video and it will open up in a lightbox when clicked on. You can add whatever kind of content you want inside the link.
Send us a link to your page so we can see what type of elements your using.
Cheers!
Elliott
I have updated my details.
Many thanks!
PS: I have also tried deactivated all of the plugins.
Hi!
as an example use a link like this:
<a href="http://www.youtube.com/watch?v=qqXi8WmQ_WM" rel="prettyPhoto" title=""><img src="images/thumbnails/flash-logo.jpg" alt="YouTube" width="60" /></a>
and adjust it as needed.
Regards,
Andy
That means I need to set an image for every YouTube video is that correct?
Isn’t there a way just to use the YouTube thumbnail and simply open the video in a lightbox?
Hey!
You can try using this plugin – https://wordpress.org/plugins/tubepress/
Also, you can add image element to your content and link it to your YouTube video and it will open in lightbox
Best regards,
Yigit