修复UEditor上传视频的首图不显示的问题
This commit is contained in:
@@ -17642,7 +17642,7 @@ UE.plugins['video'] = function (){
|
||||
case 'image':
|
||||
str = '<img ' + (id ? 'id="' + id+'"' : '') + ' width="'+ width +'" height="' + height + '" _url="'+url+'" class="' + classname.replace(/\bvideo-js\b/, '') + '"' +
|
||||
//' src="' + me.options.UEDITOR_HOME_URL+'themes/default/images/spacer.gif" style="background:url('+me.options.UEDITOR_HOME_URL+'themes/default/images/videologo.gif) no-repeat center center; border:1px solid gray;'+(align ? 'float:' + align + ';': '')+'" />'
|
||||
' src="' + (url.substr(0,url.lastIndexOf('.')) + ".jpg")/* ThinkGem 修改视频默认图片为视频截图*/ + '" style="background:url('+me.options.UEDITOR_HOME_URL+'themes/default/images/videologo.gif) no-repeat center center; border:1px solid gray;'+(align ? 'float:' + align + ';': '')+'" />'
|
||||
' src="' + url + '.jpg' /* ThinkGem 修改视频默认图片为视频截图*/ + '" style="background:url('+me.options.UEDITOR_HOME_URL+'themes/default/images/videologo.gif) no-repeat center center; border:1px solid gray;'+(align ? 'float:' + align + ';': '')+'" />'
|
||||
break;
|
||||
case 'embed':
|
||||
str = '<embed type="application/x-shockwave-flash" class="' + classname + '" pluginspage="http://www.macromedia.com/go/getflashplayer"' +
|
||||
|
||||
Reference in New Issue
Block a user