Insert Event of Network Video

After inserting network video, you can customize check rule of video use editor.config.onlineVideoCallback.

const E = window.wangEditor
const editor = new E('#div1')

// customizing insert event of network video
editor.config.onlineVideoCallback = function (video) {
// you can customize content of callback after inserting a video successfully.
  console.log('video content', video)
}

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2021-07-04 12:51:04

results matching ""

    No results matching ""