#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:
taggon 2009-11-02 08:45:09 +00:00
parent fde8e04aa9
commit 670545cdf6

View file

@ -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 = "";