You might not be aware of this, but by right-clicking on a YouTube video, you can choose “Loop” and the video will play indefinitely.
If it’s a small clip (a few minutes long), it will not load each time it loops, but if it’s a long clip, each time it plays it will download the data.