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

    Hi, how can I create a masonry gallery of youtube videos and have the theme pull the video image to show based on the youtube link I add.

    is this possible?

    #940616

    Hi,

    Currently out of the box it is not possible however you can insert Youtube links into custom links field of your Masonry gallery images

    Regards,
    Yigit

    #940687

    you like to see the videos in a lightbox after click or directly on that masonry ?

    no one hampers you to put in an image masonry links to the images
    (but you have to take here the watch links of youtube

    link f.e. https://www.youtube.com/watch?v=L8eRzOYhLuw?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0&start=30&iframe=true

    see masonry ( left image has a youtube link): https://webers-testseite.de/youtube-masonry/

    • This reply was modified 6 years, 7 months ago by Guenni007.
    #941118

    Hi,

    Thanks for your help @Guenni007! :)

    Best regards,
    Yigit

    #1101031

    Hi! Thanks so much Guenni007!
    It would be nice if you explain some params. For example, this is my video: https://youtu.be/VADVE-sL7Jg

    Youtube gives me an iframe:
    <iframe width=”853″ height=”480″ src=”https://www.youtube-nocookie.com/embed/VADVE-sL7Jg?rel=0&controls=0&showinfo=0&#8243; frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>

    And I need to:
    1.- Fix a size, f.e. 853×480 (as suggested by youtube)
    2.- Remove title
    3.- Remove related videos at the end
    4.- Autoplay = YES

    How can we add to your suggested link?
    (https://www.youtube.com/watch?v=L8eRzOYhLuw?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0&start=30&iframe=true)

    Thanks in advance!

    #1102364

    Hi,

    Thanks for the update.

    You can’t embed the iframe tag in a masonry element directly. You can only designate a youtube url to a particular masonry item and have that video open inside a lightbox when you click on the item.

    Best regards,
    Ismael

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