tomdekok

tomdekok

“Just a note on how wonderful this theme is! If you are thinking of purchasing, I’d say do it! The flexibility is awesome and the possibilities are endless. I also want to thank SwiftIdeas for the EXCELLENT support with setting things up and answering questions that I had. If you are looking for a theme WITH support, this is it!”

// 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; };