mov 지원

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-01-07 09:50:00 +00:00
parent 33e3eff6cc
commit 19b5b11af8

View file

@ -485,9 +485,9 @@ function displayMultimedia(src, width, height, options) {
html += ''
+ '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="'+params.flashvars+'" wmode="'+params.wmode+'"></embed>'
+ '</object>';
} else if(/\.flv/i.test(src)) {
} else if(/\.flv/i.test(src) || /\.mov/i.test(src) || /\.moov/i.test(src)) {
html = '<embed src="'+request_uri+'common/tpl/images/flvplayer.swf" allowfullscreen="true" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="&file='+src+'&width='+width+'&height='+height+'&autostart='+autostart+'" />';
} else {
} else {
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'"></embed>';
}
document.writeln(html);