mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
fixed use enforce_ssl javascript variable
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6856 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4fdd586ef4
commit
043c630ab1
1 changed files with 2 additions and 1 deletions
|
|
@ -463,7 +463,8 @@ function _displayMultimedia(src, width, height, options) {
|
|||
html = '<embed src="'+request_uri+'common/tpl/images/flvplayer.swf" allowfullscreen="true" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="&file='+src+'&width='+width+'&height='+height+'&autostart='+autostart+'" wmode="'+params.wmode+'" />';
|
||||
} else if(/\.swf/i.test(src)) {
|
||||
clsid = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';
|
||||
if(!enforce_ssl) { codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"; }
|
||||
|
||||
if(typeof(enforce_ssl)=='undefined'){ 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+'" />';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue