I am very new to jscript especially as it pertains to delivering flash elements... That being said - here is what I am dealing with.
Plugin for Wordpress embed-video-with-link. The site is completely under SSL. No triggers with Firebug in Firefox but in IE get the dreaded null is null or not an object error.
This is the piece of code I 'think' is causing the problem
I've read a bit around and it seems it has something to do with the object not being properly defined? But I am stuck and don't know what direction to go - Any help greatly appreciated.
Thanks
**Ann
Plugin for Wordpress embed-video-with-link. The site is completely under SSL. No triggers with Firebug in Firefox but in IE get the dreaded null is null or not an object error.
This is the piece of code I 'think' is causing the problem
Code:
define("FLASHPLAYER_TARGET", "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"".GENERAL_WIDTH."\" height=\"".FLASHPLAYER_HEIGHT."\">
<param value=\"#FFFFFF\" name=\"bgcolor\" />
<param name=\"movie\" value=\"".get_option('siteurl')."/wp-content/plugins/embedded-video-with-link/mediaplayer/player.swf\" />
<param value=\"file=###VID###&showdigits=true&autostart=false&overstretch=false&showfsbutton=false\" name=\"flashvars\" allowScriptAccess=\"always\" />
<param name=\"wmode\" value=\"transparent\" />
<!--[if !IE]> <-->
<object data=\"".get_option('siteurl')."/wp-content/plugins/embedded-video-with-link/mediaplayer/player.swf?file=###VID###\" type=\"application/x-shockwave-flash\" height=\"".FLASHPLAYER_HEIGHT."\" width=\"".GENERAL_WIDTH."\">
<param value=\"#FFFFFF\" name=\"bgcolor\">
<param value=\"file=###VID###&showdigits=true&autostart=false&overstretch=false&showfsbutton=false\" name=\"flashvars\" allowScriptAccess=\"always\">
<param name=\"wmode\" value=\"transparent\" />
</object><!-->
<![endif]-->
</object><br />");
Thanks
**Ann
Comment