Skip to content

Instantly share code, notes, and snippets.

@greypants
Created May 11, 2012 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greypants/2661204 to your computer and use it in GitHub Desktop.
Save greypants/2661204 to your computer and use it in GitHub Desktop.
JS: swfobject.embedSWF
<script type="text/javascript">
var flashvars = {},
params = {},
attributes = {};
swfobject.embedSWF("untitled.swf", "containerId", "800", "600", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="containerId">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
var flashvars = {},
params = {},
attributes = {};
swfobject.embedSWF("untitled.swf", "containerId", "800", "600", "9.0.0", false, flashvars, params, attributes);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment