How to get the elements after the rich text is passed?

the content of the rich text is requested from the background, and then I insert the front end into the page.
the place I inserted is in an article tag. now my requirement is to get the video tag inside after insertion to set the prohibition bar and auto playback .
as shown in the figure, what is in the red box is the rich text content that I have inserted, and the blue box is the target I want to get. I got it only after the insertion is successful. I have also tried to set a delay timer to get it, but it is all empty, and it is also a failure to get other DOM in it.

articlechildren:


video:


I want to disable the playback bar and automatic playback of the video tag, but I don"t know why I can"t get it

Oct.07,2021

try to write like this

let container = $('-sharpcontent-2')

function findVideo(cb,count) {
  setTimeout(function () {
    count--
    let result = container.querySelectorAll('video')
    if (result.length === 0) {
      if(count){
        findVideo(cb)
      }else{
        console.log('')
      }
    } else{
      cb(result)
    }
  }, 1000)
}

findVideo(function (videos) {
//
},10)
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-1e58c76-44a21.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-1e58c76-44a21.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?