17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1651 Views |
-
including flash (by using raw html)

14 April 2008 at 9:38pm
hello.
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. -
Re: including flash (by using raw html)

14 April 2008 at 10:35pm
is it included in your template file?
can you show your code?
-
Re: including flash (by using raw html)

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"
flashvars="allowfullscreen=true&file=/assets/Videos/preview.flv&image=
/assets/Uploads/preview.jpg&displayheight=300&displaywidth=375&height=320
&width=375&overstretch=fit&largecontrols=false&showicons=true&lightcolor=0xffffff
&backcolor=ffffff&frontcolor=000&
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. -
Re: including flash (by using raw html)

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.
| 1651 Views | ||
|
Page:
1
|
Go to Top |

