Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » including flash (by using raw html)

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

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

Page: 1
Go to End
Author Topic: 1767 Views
  • wolf
    Avatar
    Community Member
    3 Posts

    including flash (by using raw html) Link to this post

    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.

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: including flash (by using raw html) Link to this post

    is it included in your template file?

    can you show your code?

  • wolf
    Avatar
    Community Member
    3 Posts

    Re: including flash (by using raw html) Link to this post

    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.

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: including flash (by using raw html) Link to this post

    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.

    1767 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.