Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Embed Flash?

edited September 2007 in Vanilla 1.0 Help
I am simply trying to embed a flash player using HTML formatter but nothing shows up. Does anyone have any suggestions as to what I'm doing wrong? Is it even possible to do?

<embed src="flvplayer.swf" width="320" height="240" type="application/x-shockwave-flash" pluginspage="" flashvars="file=test.flv&displayheight=240" />


  • Options
    I've done it manually on my members' account page but as you have already found out HTML formatter kills the embed tag.

    There's probably a hack around it though? I tried a while back to embed a Flash mp3 player but got frustrated and gave up, that's when I wrote DPlayer.

    Posted: Monday, 10 September 2007 at 2:01PM

  • Options
    Well, I guess the 'hack' is to remove the embed tag from the $Html_DisallowedTags array of HTML Formatter. Probably not the safest solution, but at least it works.
  • Options
    What would be better is to create permissions for strict and loose $Html_DisallowedTags, so that depending of the user permission, embed flash, iframe and other stuff can be used by your admins and moderators.

    But you should never allow your user to post anything else than em, strong, blockquote, list, links and images tags.
  • Options
    I like Dinoboff's idea actually. Might be worth asking to get this added to HtmlFormatter. Can you be more specific in what are you trying to achieve, skube?
This discussion has been closed.