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.

Embedding Video for Discussion Topics

edited August 2007 in Vanilla 1.0 Help
I would like to embed similar code as below into a new discussion topic and have it render so that people can discuss the associated content/topics that are rendered. How can this be achieved the easiest in the vanilla software package? I would like it so that only the administrator role could perform this type of function. <div id="cubeDiv" style="position:relative;"><span style="position:relative; z-index:2;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="swfclipf446" width="520" height="590"><param name="allowScriptAccess" value="always" /><param name="movie" value="http://www.thenewsroom.com/mash/swf/cube.swf?a=f446&m=81290&v=1" /><param name="base" value="."/><embed src="http://www.thenewsroom.com/mash/swf/cube.swf?a=f446&m=81290&v=1"base="." width="520" height="590" name="swfclipf446" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object></span><span id="voxAdf446" style="position:absolute;z-index:2;"></span></div>

Comments

  • I dont quite understand what you want to achieve..
  • VazVaz New
    edited August 2007
    He want's to give administrators the ability to put in code such as the one above in a discussion. LawnMowerMan - this may be what you are looking for.

    This add-on gives you the ability to embedd youtube/google/ifilm & myspace videos.
  • Ok. This is a good start. I see that you can do a youtube, ifilm, myspace, google video by using this format: VIDEO no problemmo. However, I specifically want to use the syntax above for only the administrator. IE: Grant a Role to allow Comments to pass unfiltered to the forum so that it will display as is. Any ideas?
  • I'm not sure how you'd do that since all the URL replacement is done with Javascript. I guess you could put a class in each users comment that states their role which the JS could then use to either ignore or parse depending on the settings.

    Perhaps this is something that could be added to themes, perhaps even the core theme? Would this create a security issue to have users roles in the HTML?
This discussion has been closed.