Unfortunately, the full example I wanted to share is no longer available online. Let me try my best to describe it instead.
The idea is to have a continuous looping video as the full-screen background. On top of that, there will be a DIV containing another video that moves slowly back and forth across the screen.
Here's an animation example, but it moves too quickly:
Check out the sample on JSFiddle
HTML CODE
<div style='position:absolute; background-color: blue; height: 50px; width:50px;'></div>
JS CODE
setInterval(function(){
$("div").stop(true,true).animate({left: 300}, 10000,
function(){ $(this).stop(true,true).animate({left: 0}, 1000);
});
}, 20000);
I'm not very familiar with JavaScript, so I could use some help figuring out the timing aspect of this project.
Thank you in advance!