Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #148013

    Christian
    Moderator

    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]

    See http://prntscr.com/57tcfg

    Thanks.

    #148604

    In 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. 🙂

    #148605

    Sorry, 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!

    #148883

    Rad
    Moderator

    You’re welcome 🙂