mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
#18418490 FLV가 설정에 관계없이 자동으로 실행되던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6910 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
27c622bdfc
commit
7a557ee42f
1 changed files with 6 additions and 7 deletions
|
|
@ -450,13 +450,7 @@ function _displayMultimedia(src, width, height, options) {
|
||||||
};
|
};
|
||||||
|
|
||||||
var params = jQuery.extend(defaults, options || {});
|
var params = jQuery.extend(defaults, options || {});
|
||||||
var autostart;
|
var autostart = (params.autostart && params.autostart != 'false') ? 'true' : 'false';
|
||||||
if (jQuery.browser.mozilla || jQuery.browser.opera) {
|
|
||||||
// firefox and opera uses 0 or 1 for autostart parameter.
|
|
||||||
autostart = (params.autostart && params.autostart != 'false') ? '1' : '0';
|
|
||||||
} else {
|
|
||||||
autostart = (params.autostart && params.autostart != 'false') ? 'true' : 'false';
|
|
||||||
}
|
|
||||||
delete(params.autostart);
|
delete(params.autostart);
|
||||||
|
|
||||||
var clsid = "";
|
var clsid = "";
|
||||||
|
|
@ -483,6 +477,11 @@ function _displayMultimedia(src, width, height, options) {
|
||||||
+ '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="'+params.flashvars+'" wmode="'+params.wmode+'"></embed>'
|
+ '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="'+params.flashvars+'" wmode="'+params.wmode+'"></embed>'
|
||||||
+ '</object>';
|
+ '</object>';
|
||||||
} else {
|
} else {
|
||||||
|
if (jQuery.browser.mozilla || jQuery.browser.opera) {
|
||||||
|
// firefox and opera uses 0 or 1 for autostart parameter.
|
||||||
|
autostart = (params.autostart && params.autostart != 'false') ? '1' : '0';
|
||||||
|
}
|
||||||
|
|
||||||
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'"';
|
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'"';
|
||||||
if(params.wmode == 'transparent') {
|
if(params.wmode == 'transparent') {
|
||||||
html += ' windowlessvideo="1"';
|
html += ' windowlessvideo="1"';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue