enforce_ssl이 정의되지 않았을 때 플래시 등 displayMultimedia()이 동작하지 않는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6883 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2009-10-23 07:31:22 +00:00
parent d2506cd198
commit 930e6e4127

View file

@ -464,7 +464,7 @@ function _displayMultimedia(src, width, height, options) {
} else if(/\.swf/i.test(src)) {
clsid = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';
if(typeof(enforce_ssl)=='undefined'){ codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"; }
if(typeof(enforce_ssl)!='undefined' && enforce_ssl){ codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"; }
else { codebase = "https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"; }
html = '<object classid="'+clsid+'" codebase="'+codebase+'" width="'+width+'" height="'+height+'" flashvars="'+params.flashvars+'">';
html += '<param name="movie" value="'+src+'" />';