nhatanhit / flashcanvas

Automatically exported from code.google.com/p/flashcanvas
0 stars 0 forks source link

Certificate error in IE for HTTPS page #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Flash element (<object>) which is dynamically included to page by flashcanvas 
has always http protocol in codebase attribute.
It cause popup with certifcate error in IE.

Solution:
replace 
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=9,0,0,0" width="100%" height="100%" id="external'

with

'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
codebase="'+document.location.protocol+'//fpdownload.macromedia.com/pub/shockwav
e/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" 
id="external'

Original issue reported on code.google.com by far...@gmail.com on 25 Aug 2010 at 8:48

GoogleCodeExporter commented 9 years ago
Thank you for your advice. I'll soon commit your patch.

Original comment by revu...@gmail.com on 28 Aug 2010 at 9:56

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r118.

Original comment by revu...@gmail.com on 28 Aug 2010 at 10:06