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.

Embed Youtube/ other videos

tropnevadtropnevad New
edited April 2012 in Vanilla 2.0 - 2.8

Is there a plugin that lets me do this? when I try use the youtube embed code, it look s great in editor, but as soon as I publish post it removes it.

THanks

Best Answer

Answers

  • Answer ✓

    Just paste the video url. Its as easy as that in Vanilla!

  • indianfootynet said:
    Just paste the video url. Its as easy as that in Vanilla!

    It works on this vanilla forum, but it does not work on my own vanilla install, I am using the latest version 2.0.18.4. Is there a plugin I need to use or something?

  • tropnevadtropnevad New
    edited April 2012

    When I put the same thing on my vanilla forums install i just see the url

    http://www.youtube.com/watch?v=mA8z0pRjp-U

  • tropnevadtropnevad New
    edited April 2012

    As it turns out, it was a problem with the CLEditor. If i disable it the embed youtube works

  • just my findings - I don't use cleditor except for this test.

    I think it converts when it writes.

    if you disable the the cleditor and write an embed

    <embed src="http://www.youtube.com/v/mA8z0pRjp-U&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash" width="640" height="385">
    

    it shows up fine.

    then when you enable cleditor the embed shows up fine.

    but if you enable cleditor and post same line it does some rewrites the tag.

    you can see the difference when you choose edit.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited April 2012

    You can get around the problem in cleditor.

    post the embed.

    <embed src="http://www.youtube.com/v/mA8z0pRjp-U"&amp;amp;nbsp; width="640" height="385"&amp;>
    
    then choose edit - then show source and modify then change
    this
    &lt;embed src="http://www.youtube.com/v/mA8z0pRjp-U"&amp;amp;amp;nbsp; width="640" height="385"&amp;amp;&gt;
    
    with these.
    
    &lt;embed
    
    to
    <embed
    
    and 
    amp &gt;
    to 
    >
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.