Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #525941

    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?

    • This topic was modified 9 years, 1 month ago by Kingzy.
    #526216

    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

    #526475

    I have updated my details.
    Many thanks!

    PS: I have also tried deactivated all of the plugins.

    • This reply was modified 9 years, 1 month ago by Kingzy.
    #527690

    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

    #527827

    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?

    #528698

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.