How to make video player which play video in loop

I’m trying to do the same - where can I input the hmtl5 code? In blocks somewhere?

In blocks under “Control” there is a “repeat 10 times” command but I can’t figure out how to make it wait until the video has played and then start it again. I’m using a short video clip inside the app.