Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Change the default size of embeded video

cnpark70cnpark70 New
edited April 2015 in Vanilla 2.0 - 2.8

I have narrow page design and embedded video frame is too wide running through right side category column.
Is there an option to change the default embedded video size to any width or height size as needed?
Thank you in advance.

Best Answer

  • Options
    hgtonighthgtonight ∞ · New Moderator
    Answer ✓

    Welcome to the community!

    You can set the default embed size via a configuration change. Add the following to your /conf/config.php file:

    $Configuration['Garden']['Format']['EmbedSize'] = 'normal';
    

    You can set it to one of the predetermined sizes: 'tiny', 'small', 'normal', 'big', or 'huge'. You can also pick an arbitrary size in the form of '1920x1080'.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Answers

  • Options
    hgtonighthgtonight ∞ · New Moderator
    Answer ✓

    Welcome to the community!

    You can set the default embed size via a configuration change. Add the following to your /conf/config.php file:

    $Configuration['Garden']['Format']['EmbedSize'] = 'normal';
    

    You can set it to one of the predetermined sizes: 'tiny', 'small', 'normal', 'big', or 'huge'. You can also pick an arbitrary size in the form of '1920x1080'.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    Works and thank you so much.

Sign In or Register to comment.