Good day!
I run my intranet website in IE8 without internet connection. I uninstalled my Adobe Flash Player Installer 10.1 which is located in my documents to test if I used the swfobject for the auto install of flash player. As I’ve said on my past thread that I want to happen is the client got a popup message to tell them that they need to install flash player and follow the link where the installer found. Honestly, I did not totally understand what is the use of swfobject why I need it to solve my problems?
Here is my code:
Code:
<script type="text/javascript" src="swfobject.js"></script>
<div id="Products_Gallery">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="450" height="375" id="Products_Gallery">
<param name="movie" value="PRODUCTS_GALLERY.swf?variable=varvalue" />
<param name="quality" value="high" />
<param name="wmode" value="transparent"/>
<embed src="PRODUCTS_GALLERY.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="375" wmode="transparent"></embed>
</object>
</div>
<script type="text/javascript">
var so = new SWFObject("PRODUCTS_GALLERY.swf", "Products_Gallery", "450", "375");
so.addVariable("variable", "varvalue");
so.write("Products_Gallery");
</script>
And I encountered error:
‘SWFObject’ is undefined.
Bookmarks