Youtube/Video Size/Width customization

  • karihelena1e2
    Asked on October 22, 2020 at 4:13 AM

    Hello!

    I am having a bit of trouble with a video in my form. I have a video that I wish to add to the head of my form. That would autoplay.

    I have tried the Youtube widget but I can't seem to get the widget centered and larger. I would prefer not to change my form width since I can see that it is space left on the right.

    Maybe there is another widget that works better for this? Or something I can do to customize the Youtube video?

    Also, is it possible to remove the black stripes around the video?

    https://form.jotform.com/karihelena1e2/sherrytest1

    Thanks a lot!

    Best,

    Karin S

  • Richie JotForm Support
    Replied on October 22, 2020 at 7:54 AM

    You can add the following parameter to the end of the URL in the YouTube widget settings to allow auto play: ?autoplay=1.

    Unfortunately, we cannot increase the size of the youtube widget however, we can use CSS to center it in your form.

    You can use this custom CSS

    #cid_119{

       padding-left: 6%;

    }

    Guide:https://www.jotform.com/help/117-how-to-inject-custom-css-codes