4 ms·
Here's an idea: Why not just add an onclick that puts in the `<source>` tags? that way you still have a `<video>` tag but it has nothing to preload until you
by jiaaro 17y ago
Here's an idea:
Why not just add an onclick that puts in the `<source>` tags?
that way you still have a `<video>` tag but it has nothing to preload until you click it
note: I havn't tested this approach
Edit: Ok so I tried that in firefox and it doesn't work. But What if you make a video with 1 frame and a resolution of 1x1 and make that the source. Then you can replace that with onclick? (this one is more work than I'm willing to do out of curiosity, maybe someone else will try it?)