* options이 없을 때 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4539 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-09-21 05:49:48 +00:00
parent bec0a651c5
commit 68fa55aaf8

View file

@ -254,8 +254,10 @@ function displayMultimedia(src, width, height, options) {
flashvars : ''
};
var autostart = (options.autostart) ? 'true' : 'false';
delete(options.autostart);
if(options) {
var autostart = (options.autostart) ? 'true' : 'false';
delete(options.autostart);
}
var params = objectExtend(defaults, options || {});