Support

Home Forums Event Espresso Premium Changing Size of Embedded Video

Changing Size of Embedded Video

Posted: March 20, 2020 at 1:59 pm


leftbrainpro

March 20, 2020 at 1:59 pm

I’m trying to embed video from YouTube. I’ve used the link and the iframe HTML. Both result in a large video. Is there a way to adjust the size of an embedded video within EventEspresso? Note that the usual size controls are not available. See this page as an example: https://www.leftbrainpro.com/events/encoursa-fundamentals-of-indirect-rates/


Josh

  • Support Staff

March 20, 2020 at 2:30 pm

Hi,

It looks like your site uses the Fitvids.js plugin to make video embeds responsive. Fitvids.js makes the video embeds to expand full-width of the available content.

You could adjust this by wrapping your video embed in a div with the style attribute like this (in text mode of the event editor).

e.g.

<div style="max-width: 320px;">
[embed width="320" height="240"]https://www.youtube.com/yourvideourl[/embed]
</div>


leftbrainpro

March 20, 2020 at 4:57 pm

That worked! Thank you!!

The support post ‘Changing Size of Embedded Video’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso