百度ueditor上传视频

修改ueditor/jsp/config.json文件,如下图


上传后,src无法回显

修改ueditor.all.js,第17769行,

html.push(creatInsertStr( vi.url, vi.width || 420,  vi.height || 280, id + i, null, cl, 'image'));

改为

html.push(creatInsertStr( vi.url, vi.width || 420,  vi.height || 280, id + i, null, cl, 'video'));

7343,7344,7346行,注释掉代码:

var root = UE.htmlparser(html);

me.filterInputRule(root);

html = root.toHtml();



猜你喜欢

转载自blog.csdn.net/weixin_39703170/article/details/79994190
今日推荐