mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 20:02:15 +09:00
#18400572 : Firefox와 Opera 브라우저에서 Window Media Player 파일의 자동 실행 옵션이 정상적으로 반영되지 않던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6907 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fde8e04aa9
commit
670545cdf6
1 changed files with 8 additions and 2 deletions
|
|
@ -450,8 +450,14 @@ function _displayMultimedia(src, width, height, options) {
|
|||
};
|
||||
|
||||
var params = jQuery.extend(defaults, options || {});
|
||||
var autostart = (params.autostart && params.autostart != 'false') ? 'true' : 'false';
|
||||
delete(params.autostart);
|
||||
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';
|
||||
}
|
||||
delete(params.autostart);
|
||||
|
||||
var clsid = "";
|
||||
var codebase = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue