멀티미디어 확장자 추가, 20자 자르기 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5275 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-01-07 15:12:15 +00:00
parent eba2bf30cf
commit 8f879111ca
5 changed files with 7 additions and 7 deletions

View file

@ -485,7 +485,7 @@ 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) || /\.mov/i.test(src) || /\.moov/i.test(src)) {
} else if(/\.flv/i.test(src) || /\.mov/i.test(src) || /\.moov/i.test(src) || /\.m4v/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 {
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'"></embed>';