I am wondering what my best option is to delay the loading/playing of a movie that is set to autoplay?
The videos are all external if that matters; is there any kind of code I can fire within a javascript function once I want it to start? That would be ideal.
var movie = '<object....><embed....</embed></object>';
window.onload=function() {
var tId = setTimeout(function() {document.getElementById('movieContainer').innerHMTL=movie;},3000); // delay 3 secs
}
.
.
.
<div id="movieContainer"><img src="trailer.jpg" /></div>