Okay
  Public Ticket #351874
Youtube Video Shortcode Not Working in Portfolio Post
Closed

Comments

  • Craig started the conversation

    I'm using the following shortcode to embed a YouTube video into a portfolio post: 

    [youtube id="VSwv82lV9vU" width="600" height="350"]

    Viewing the live page just shows a blank space where the video should be. The subsequent space is also not using the width/height parameters specified in the shortcode.

    To reproduce the error - scroll to or click on the "Auto Detailing" nav button. Then select "Optimum Coatings" portfolio item. 

    Thanks in advance for your help!

  •  1,973
    Support replied

    Hello,

    you added a title divider in the content which makes the video floating to the right (outside the viewport)

    replace the divider with a line break and it should be fine

    thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Craig replied

    Great - thanks!

    I liked the look of the title divider, so I used the column shortcodes to "place a box" around the video embed shortcode. It appears that the column shortcodes have a "clear" element to them which cleared the title divider box. All seems to work well now. Thanks again.