17452 Posts in 4473 Topics by 1971 members
|Go to End|
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.
14 April 2008 at 10:35pm
is it included in your template file?
can you show your code?
15 April 2008 at 1:22am Last edited: 15 April 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="http://www.macromedia.com/go/getflashplayer" />
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.
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.
|Go to Top|