function onPlayerReady(event) { start.onclick = function() { event.target.playVideo(); }; setTimeout(function() { start.click(); }, 2000); }