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

Embed code not showing

DuaneDuane New
edited March 2010 in Vanilla 2.0 - 2.8
Hello im running vanilla 2 and all appears to be working fine except when i embed video into a post it does not appear, any ideas? im new to vanilla in general i didnt start with v1

Comments

  • Options
    DuaneDuane New
    edited March 2010
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,00,0" width="480" height="393"><param name="movie" value="http://www.vladtv.com/embed/17216/?file=sony-debuts-the-playstation-move&image=17216&watermark=1&mediaKeywords=Interviews&mediaTitle=Sony debuts the PlayStation Move"><param name="quality" value="high" /><param name="menu" value="false" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><embed src="http://www.vladtv.com/embed/17216/?file=sony-debuts-the-playstation-move&image=17216&watermark=1&mediaKeywords=Interviews&mediaTitle=Sony debuts the PlayStation Move" width="480" height="393" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowFullScreen="true" menu="false" allowScriptAccess="all" allowNetworking="all"></embed></object>

    ive attached this same code in the post above and as you can see its nowhere to be found, the only site that seems to work with embedding is youtube is this true?
  • Options
    DuaneDuane New
    edited March 2010
    anyone?
  • Options
    @mark @lincoln i really need u guys help with this. i will also privately send you guys the link to my vanilla forum =]
  • Options
    lucluc ✭✭
    It might just be htmlpurifier (enable by default on v2) that disables this.
  • Options
    DuaneDuane New
    edited March 2010
    @luc well i kno for a fact thats the source of the problem however would u happen to know how to edit the purifier to get this working?
  • Options
    edited March 2010
    In your config.php file add the lines:
    $Configuration['HtmlPurifier']['HTML']['SafeObject'] = TRUE;
    $Configuration['HtmlPurifier']['HTML']['SafeEmbed'] = TRUE;
  • Options
    DuaneDuane New
    edited March 2010
    @garymardell worked like a charm thanks alot gary! check ur inbox when u have a moment
  • Options
    Stuff like this should go in the main documentation...
  • Options
    Right now I think the v2 docs are more for programmers than end-users. This kind of info might belong better in an end-user FAQ section.
  • Options
    Unless you really want a plugin called Enable Embedding, i could just add in a second.
Sign In or Register to comment.