bschwart

bschwart

“I just wanted to take a minute and express my thanks for the incredible support I have received so far from the SwiftIdeas team. Seriously, these guys are second to none. I’ve purchased a countless number of themes on here, and have yet to come across one as elegant, easy to use, and well supported as this one.”

// select video element var vid = document.getElementById('v0'); //var vid = $('#v0')[0]; // jquery option // pause video on load vid.pause(); // alternative & optimized implementation thanks to http://codepen.io/daveroma/ window.onscroll = function(){ vid.currentTime = window.pageYOffset/400; };