open lightbox video on parent page
-
hi,
is it possible to open the video lightbox on the parent page?
i use iframes in my homepage to display video thumbnails:
https://www.mebuzbuzz.co.il/only-videos/i would like that when 1 of the video thumbnails is clicked, it will open the video in a lightbox, but on the parent page, not within that iframe.
below is the code i use for each thumbnail:
<div class=”post_thumb image_wrapper down-2 light_inited” data-video=”<iframe class=”video_frame” src=”https://youtube.com/embed/1…allowfullscreen” allowFullScreen=”allowFullScreen”></iframe>”>
<iframe class=”video_frame” width=”310″ height=”310″ frameborder=”0″ allowfullscreen=”allowFullScreen” mozallowfullscreen=”mozallowfullscreen” webkitallowfullscreen=”webkitAllowFullScreen” src=”https://youtube.com/embed/1iIZeIy7TqM?playsinline=0&autoplay=1″ style=”width: 310px; height: 310px;”></iframe>
</div>
i tried to add to the a rel=”wp-video-lightbox” but no luck..
could you please help
- The topic ‘open lightbox video on parent page’ is closed to new replies.