function init() { var vidDefer = document.getElementsByTagName('iframe'); for (var i=0; i