Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

how to post/embed .swf

pedenskipedenski New
edited July 2012 in Vanilla 2.0 - 2.8

is it advisable to post .swf / flash format ? are there any security vulnerabilities? if none, how do i post it using html? thanks.

Tagged:

Comments

  • 422422 Developer MVP

    There was an error rendering this rich post.

  • wow. how do you manage to put that?

  • 422422 Developer MVP
    edited July 2012

    Goto http://highsco.re

    example: http://highsco.re/play/Monster-Bash/

    Scroll down and see the embed code in text box ?

    Paste it STRAIGHT into a new post.

    Like this:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
    width="500" height="350">
    <param name="movie" value="http://www.highsco.re/content/swf/monster_bash.swf" />
    <param name="quality" value="high" /><embed src="http://www.highsco.re/content/swf/monster_bash.swf" quality="high"
    pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
    width="500" height="350"></embed></object></object>
    <br /><a href="http://www.highsco.re">Play more free games at HighScore.</a>
    

    There was an error rendering this rich post.

  • 422422 Developer MVP
    edited July 2012

    You can resize by changing width and height settings of the movie like so:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="600" height="450"> <param name="movie" value="http://www.highsco.re/content/swf/asteroids.swf" /> <param name="quality" value="high" /><embed src="http://www.highsco.re/content/swf/asteroids.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="450"></embed></object></object>

    In this case I changed to 600 by 450 in 2 places.



    Play more free games at HighScore.

    There was an error rendering this rich post.

  • x00x00 MVP
    edited July 2012

    personally there are risk involved, I would only allow it from a whitelist of sites, where user content is not directly inputed, but the has been processed like video.

    There are potential problem with exploits especially with older browsers, and other spoof techniques, like transparency and overlay.

    grep is your friend.

  • Hello all from Russia! ! ! Long I struggled with this prolemy how to insert SWF into Vannilla. And nevertheless found the decision. But for this purpose it is necessary to press at first in the editor the button:

    Further we insert a code for swf:

    And all! ! ! Works! . Good luck!

Sign In or Register to comment.