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!!

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  leftbrainpro 1 week, 2 days ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!