Is there something I can add to a direct video URL to make it loop?

nooeh@lemmy.world to No Stupid Questions@lemmy.world – 32 points –

So if I have lorenipsum.com/test.mp4, can I modify it like so: lorenipsum.com/test.mp4?&loop=1 or some other append to make it loop?

14

You are viewing a single comment

How about JavaScript which writes a simple html page. Any clue how I might go about that?

Javascript is overkill. Open a file on your desktop, name it whatever.html. Open it in notepad, put this in it. Save it, open it in your browser.

Lol I can understand what that does. The reason I am asking about JavaScript is that potentially I can use it like a url.

data:html,

Might work.

Edit: stupid html stripping. Ugh.

data:html,

data:html,

Fine, a paste bin. https://txt.t0.vc/PDIP

Thank you so much!! Data URLs were exactly what I was looking for with a little modification! Apparently chrome doesn't allow looping with audio unless it meets certain strict criteria per google. Here is my final URL:

data:text/html,