swcffgh

ueditor-1.4.3.3

项目需要去掉“上传视频”

ueditor\dialogs\video\video.html

输入视频地址报错。

ueditor\ueditor.all.js               ‘image’—>’video’

ueditor\ueditor.config.js 

① img 添加 ‘_url’

②video后添加

  source: [\'src\', \'type\'],
   embed: [\'type\', \'class\', \'pluginspage\', \'src\', \'width\', \'height\', \'align\', \'style\'
                , \'wmode\', \'play\', \'autoplay\', \'loop\', \'menu\', \'allowscriptaccess\', \'allowfullscreen\', \'controls\', \'preload\'],
   iframe: [\'src\', \'class\', \'height\', \'width\', \'max-width\', \'max-height\', \'align\', \'frameborder\', \'allowfullscreen\']

ueditor\dialogs\video\video.js

将$G("preview").innerHTML的值改为:\'<video class="previewVideo" controls="controls" src="\'+conUrl+\'" style="width:420;height:280 "></video>\';


OVER

分类:

技术点:

相关文章:

  • 2021-10-17
  • 2021-09-28
  • 2021-08-31
  • 2021-11-18
  • 2022-01-07
猜你喜欢
  • 2021-09-09
  • 2021-12-13
  • 2021-11-01
  • 2021-08-16
  • 2021-12-05
  • 2021-12-19
  • 2021-09-25
相关资源
相似解决方案