Quilljs | do you want to add < video > tag to editor?

https://quilljs.com/

I just have a problem with using this editor
.
he can only enter the network address when uploading videos
, but what I want to do now is to upload
, so I think of a way to import it to editor

.
var video = this.files[0];
  var videoUrl = window.URL.createObjectURL(video);
  $(".ql-editor p").append(videoUrl);

enter the web address directly, you can
but when I add < video > tag, there is no response. Some people enter editor but it is not a video tag. It may be just

or
. It feels like he"s stuck with something.?

append("<video controls="controls"><source src=""+videoUrl+"" id="video_here"></video>");

how can this be solved?


quilljs is unable to perform video, he is dead. You can only change the editor!


feels that there is something wrong with your thinking. If you want to insert the video manually, you can use the method provided by quill: insertEmbed


also encounters this problem. You just need to add the controls attribute to the vedio tag manually, which is necessary

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32253-2ab35.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32253-2ab35.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?