Hi all, I have a question. Hopefully, this is a suitable mailing list to ask it.
I use a full-width <video> on a page, and I use some simple JavaScript (jQuery) to change its src and trigger the .play() method each time the video ends. The page is: https://www.popot.org/chomper_dance.php About ~10 seconds the second video loads. (This happens when the in-video character first reaches the right of the metal jaws.) A new video also loads when the website visitor presses the "Oops" button under the video. (This button enables after ~10 seconds.) The problem I'm encountering: each time a new video starts (loads), the transition is too noticable. My question is, in the JavaScript (at the end of the page source), is there an easy way to pre-load videos that will be used in the src _in the future_? Looking forward to hear your feedback. Best regards, Norbert _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

