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.

[Solved] Disable YouTube Auto Embed?

JolaedanaJolaedana New
edited September 2011 in Vanilla 2.0 - 2.8
I've got a small private forum, and apparently the auto YouTube embed *really* annoys some of my users. They'd like to just post the link.

Can someone tell me where the code I'd need to comment out that enables this might be?

I'm new to Vanilla. Thanks in advance! :)
Tagged:

Answers

  • I found what I was looking for.

    Open up "config-defaults.php" in "conf" folder of the vanilla install.

    On line 108 and 109 you will see:

    $Configuration['Garden']['Format']['YouTube'] = TRUE;
    $Configuration['Garden']['Format']['Vimeo'] = TRUE;

    Change true to false, and video embedding won't happen anymore. Enjoy!
Sign In or Register to comment.