Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #617354


    I’m trying to embed YouTube video into a Text Block (in text mode) and it works fine if the block is a full width column but when the section is split into three columns, the video container turns into a square and the video doesn’t re-size correctly.

    I’ve set up a demonstration page to show you what’s happening (link in private content).

    As you can see, the video media element works fine but the client wants to use the embed function, as that’s the only way to stop YouTube playing suggested videos when the video finishes.




    Hi Ken!

    Are you using the Enfold video shortcode?

    [av_video src='http://www.youtube.com/watch?v=G0k3kHtyoqc' format='16-9' width='16' height='9' custom_class='']




    That works. For anyone finding this via search, add rel=’0′ to stop the suggested videos showing, like this:-

    [av_video src='https://www.youtube.com/embed/WY2K1RcvXck' rel='0' controls='0' format='16-9' width='16' height='9' custom_class='']

    Use the embed code and replace the https//… bit. Add this to a Text Block in Text mode.



Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Embed Video Not Scaling Properly’ is closed to new replies.