mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5293 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
759521e27a
commit
299a548c76
1 changed files with 6 additions and 2 deletions
|
|
@ -486,9 +486,13 @@ function displayMultimedia(src, width, height, options) {
|
|||
+ '<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) || /\.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+'" />';
|
||||
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+'" wmode="'+params.wmode+'" />';
|
||||
} else {
|
||||
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'"></embed>';
|
||||
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height;
|
||||
if(params.wmode == 'transparent') {
|
||||
html += ' windowlessvideo="1"';
|
||||
}
|
||||
html += '></embed>';
|
||||
}
|
||||
document.writeln(html);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue