Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

including flash (by using raw html)

Go to End

4 Posts   2209 Views


Community Member, 3 Posts

14 April 2008 at 9:38pm


i try to include a flash videoplayer into a side. i want to use the embed-tag to do so, however, whenever i try to include the necessary html code silverstripe replaces it with <object ...>, deleting all my flash variables i had inside the embed tag.

so my questions:

1) why does this happen
2) can i disable ANY replacement of my own html code. i dont want silverstripe to correct anything i insert as raw html actually.


Community Member, 156 Posts

14 April 2008 at 10:35pm

is it included in your template file?

can you show your code?


Community Member, 3 Posts

15 April 2008 at 1:22am

Edited: 15/04/2008 1:23am

no, i was talking about putting the HTML code into the content (by using the html editor).

my code reads like this here

<embed src="/assets/Uploads/flvplayer.swf" name="flashplayer" 
bgcolor="#FFFFFF" width="375" height="320" 
id=1752" pluginspage="" />

however, when i save it silverstripe adds an <obeject - tag and removes my "flashvars" and of course the player wont work anymore. i would simply like to keep silverstripe from doing anything with my added code.


Community Member, 156 Posts

16 April 2008 at 12:33am

ahhh I see. I have only used flash in SS through a element on the page which the client could change based on uploading a new flash file.

Sorry, haven't placed any flash into the content area.