From 670545cdf66022251e8101e068d6cbcba278e97d Mon Sep 17 00:00:00 2001 From: taggon Date: Mon, 2 Nov 2009 08:45:09 +0000 Subject: [PATCH] =?UTF-8?q?#18400572=20:=20Firefox=EC=99=80=20Opera=20?= =?UTF-8?q?=EB=B8=8C=EB=9D=BC=EC=9A=B0=EC=A0=80=EC=97=90=EC=84=9C=20Window?= =?UTF-8?q?=20Media=20Player=20=ED=8C=8C=EC=9D=BC=EC=9D=98=20=EC=9E=90?= =?UTF-8?q?=EB=8F=99=20=EC=8B=A4=ED=96=89=20=EC=98=B5=EC=85=98=EC=9D=B4=20?= =?UTF-8?q?=EC=A0=95=EC=83=81=EC=A0=81=EC=9C=BC=EB=A1=9C=20=EB=B0=98?= =?UTF-8?q?=EC=98=81=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8D=98=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6907 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/common.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/common/js/common.js b/common/js/common.js index e5f128d1e..5c950bc35 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -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 = "";