-
AuthorPosts
-
November 18, 2014 at 6:31 pm #148013
Hey there,
This is not a bug but rather, we do not have support for direct embedding of video. Please use our Responsive Video shortcode for that.
[x_video_embed]<iframe width="560" height="315" src="//www.youtube.com/embed/kRQH-lXWzrA" frameborder="0" allowfullscreen></iframe>[/x_video_embed]
Thanks.
November 19, 2014 at 12:11 pm #148604In the meantime, I have taken care of it with the following javascript:
var iframes = jQuery('iframe:not(#youTubeVideoAboveHeader)').css('height', '250px').css('width', '100%');
This is not an elegant solution, because it creates lines like the following (seen when viewed in a browser debugger):
<iframe width="1080" height="608" src="http://www.youtube.com/embed/kRQH-lXWzrA?feature=oembed&wmode=transparent" frameborder="0" allowfullscreen="" wmode="Opaque" style="height: 250px; width: 100%;"></iframe>
Here, width/height set via css override other width/height dimensions set via html. Not a good look.
But it will take care of things until this minor glitch in X-Theme is (hopefully) resolved. 🙂
November 19, 2014 at 12:13 pm #148605Sorry, I didn’t see your Nov 18th post until just now, as it started page 2.
Okay, so if I understand correctly, WP supports direct embedding of video, but this doesn’t yet work in X-Theme Masonry layout. Okay. Thanks very much for looking into this!
November 19, 2014 at 8:35 pm #148883You’re welcome 🙂
-
AuthorPosts