Skip to content

Instantly share code, notes, and snippets.

@zaius
Created October 26, 2010 03:20
Show Gist options
  • Save zaius/646253 to your computer and use it in GitHub Desktop.
Save zaius/646253 to your computer and use it in GitHub Desktop.
Inconsistent problem with flashblock and swfobject
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
swfobject.registerObject("swfobject_static", "9.0.115", "expressInstall.swf");
</script>
</head>
<body>
<object id="swfobject_static" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="200">
<param name="movie" value="http://kb2.adobe.com/cps/155/tn_15507/images/flashplayerversion1.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://kb2.adobe.com/cps/155/tn_15507/images/flashplayerversion1.swf" width="200" height="200">
<!--<![endif]-->
<p>Alternative content</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment