Home>Support>Change youtube embed size in Vantage

Change youtube embed size in Vantage

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

hello
how do i change the size of embed vide form you tube ?
they come out too big
please help

URL: http://www.stefanocapasso.net/3-ricordare-perche-ti-cerco/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Stefano

    Thanks for the wait.

    FitVids (http://fitvidsjs.com/) which Vantage uses pushes the video to 100%, mostly to handle different device resolutions. So one option would be to run a child theme that de-registers FitVids from the theme.

    Another option that you could use right now would be to use Page Builder for that specific post. If you add a video to a column it will adhere to the column’s width.

    Let me know if you’d like to de-register FitVids and I’ll help out with that child theme.

  2. 10 years, 10 months ago Stefano Capasso

    hello.yes i know about the page builder option, but it is not Always possible. i mostly have feeds and they are created automatically. so fitvids may be better option. how does it works?i have already a child theme
    thanks

  3. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the info. To de-register FitVids you need to add the following to a functions.php file in your child theme:

    function remove_scripts() {
    	wp_deregister_script('fitvids' );
    }
    add_action( 'wp_enqueue_scripts', 'remove_scripts', 100 );
    

    If you don’t yet have a functions.php and are creating a new one in the child theme, don’t forget to add an opening php tag:

    <?php
    
  4. 10 years, 10 months ago Stefano Capasso

    great! thanks a lot

  5. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    For sure!

  6. 10 years, 10 months ago Stefano Capasso

    hi
    i discover a side effect of removing the fitvids
    now the meta slider does not fit all the screen. i have to force it to be displayed all allong the screen, but this way gets bigger in height, which i don’t like
    solutions?

  7. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Try changing your slider from Vantage Flex to Default, go to Advanced Settings, change set width to 100% and crop to Standard or Smart. Should do the trick.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More