mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +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 autostart;
|
||||
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';
|
||||
}
|
||||
var autostart = (params.autostart && params.autostart != 'false') ? 'true' : 'false';
|
||||
delete(params.autostart);
|
||||
|
||||
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>'
|
||||
+ '</object>';
|
||||
} 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+'"';
|
||||
if(params.wmode == 'transparent') {
|
||||
html += ' windowlessvideo="1"';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue