I want to build a video player, which play one video in the loop repeatedly.
So can anyone help me?
Try using HTML5 and the <video>
tag in the Web Viewer component for this. This tag has a cyclic playback attribute.
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.
The HTML would be best put in a file added as asset.
The Web Viewer would load the file as long as you use its “file:// whatever” path as URL.