Home › Forums › Event Espresso Premium › Changing Size of Embedded Video
Posted: March 20, 2020 at 1:59 pm
EE4 Everything License
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/
March 20, 2020 at 2:30 pm
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).
<div style="max-width: 320px;">
[embed width="320" height="240"]https://www.youtube.com/yourvideourl[/embed]
March 20, 2020 at 4:57 pm
That worked! Thank you!!
You must be logged in to reply to this support post. Sign In or Register for an Account
Updated by leftbrainpro 1 week, 2 days ago ago