YouTube video on Posts Carousel


  • Member
    web5-australia
    April 7, 2014 at 5:10 am #18841

    Hi. Thank you for an amazing theme, there’s just one thing I’m having trouble with.

    I have inserted Posts Carousel on home page using this code:

    [posts_carousel heading="Featured Products & Services" post_type="post" order_by="date" order="DESC" limit="10" meta="no" excerpt="no" excerpt_char_limit="72" exclude_current="no" width="four columns" scroll_by="4"][/posts_carousel]

    When I create a Video Post using YouTube embed code in the “Video Post Options” field, the video size on the Carousel is the same size as the iFrame in the code (even if I remove the width/height altogether). It overlaps other items on Carousel. The only way I have managed to get around it is to make the iFrame in the embed code the same size as the small preview images in the Carousel. For example…

    <iframe width="218" height="137" src="//www.youtube.com/embed/2ss0FyKSxUc?rel=0" frameborder="0" allowfullscreen></iframe>

    This of course means that the video on the Post page is too small at 218×137.

    Here is the live site with small iFrames: http://www.baysidecosmeticclinic.com.au/

    Here is an image showing how it looks with fullsize iFrame embed code:

    http://1drv.ms/1fZzfkT

    Sorry if I’m doing something wrong – hoping you can help.

    Thank you.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.