Tagged: embed, gallery, Masonry Gallery, video, Youtube
-
AuthorPosts
-
May 7, 2015 at 5:40 pm #441118
When I use the masonry gallery with youtube videos everything is awesome. Works perfect, shows up in a lightbox just like you coded it too. Fantastic stuff…
The problem I’m having is that we host most of our videos through Wisita, A video hosting platform that offers us a lot of metrics and customizability on the back end. On a normal page or post I have no trouble embedding the video…. but I can’t seem to make it work with the lightbox in a masonry gallery post.
Any ideas? Is it even possible? Here are the codes I can get through it’s system.
Iframe
<iframe src="//fast.wistia.net/embed/iframe/2hv3pvcofh" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="400" height="225"></iframe><script src="//fast.wistia.net/assets/external/E-v1.js" async></script>
iFrame with oEmbed
http://amediapro.wistia.com/medias/2hv3pvcofh?embedType=iframe&videoWidth=400
API
<div id="wistia_2hv3pvcofh" class="wistia_embed" style="width:400px;height:225px;"> </div> <script charset="ISO-8859-1" src="//fast.wistia.com/assets/external/E-v1.js"></script> <script> wistiaEmbed = Wistia.embed("2hv3pvcofh"); </script>
API with OEmbed
http://amediapro.wistia.com/medias/2hv3pvcofh?embedType=api&videoWidth=400
Social Share
https://amediapro.wistia.com/medias/2hv3pvcofh- This topic was modified 9 years, 7 months ago by ianloomer.
May 10, 2015 at 4:20 am #442035Hey ianloomer!
Thank you for using Enfold.
The theme lightbox can only detect certain video formats, mp4 is not included. Anyway, looks like those url point to video pages instead of the actual video file. Try to add the iframe=true parameter at the end of the url. Something like this:
http://amediapro.wistia.com/medias/2hv3pvcofh?embedType=api&videoWidth=400&iframe=true
However, this will open the whole page in a lightbox.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.