Hi there guys,
When a site goes into a secure connection, a call to a flash file is causing it to show an error(some items are unsecure).
I found this in the Google analytics code:
<script type="text/javascript" language="Javascript1.2">
var gaJsHost = (("https:" == document.location.protocol) ? " https://ssl." : "http://www.");
document.write("<" + "script type='text/javascript' src='" + gaJsHost + "google-analytics.com/ga.js'><" + "/script>");
</script>
and I know it's doing for their code what I want to do for my code, but I'm not sure how to tailor it to my needs, if I can do that at all.
The code I'm having a problem with is:
<MailScannerObject27617 object width="700" height="450" align="middle" id="tandtmain" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="sameDomain" name="allowScriptAccess" />
<param value="http://www.tylerandtallulah.com/tandtmain.swf" name="movie" />
<param value="high" name="quality" />
<param value="#666666" name="bgcolor" />
<param value="transparent" name="wmode" />
<embed width="700" height="450" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="sameDomain" name="tandtmain" bgcolor="#666666" quality="high" src="http://www.tylerandtallulah.com/tandtmain.swf" />
</object>
Could someone help me with this? I can't use php because it's being entered into a text box(e-commerce backend) that's corrupting/stripping the php out of it.
thanks,
json