var video = document.getElementById('video'), play = document.getElementById('play'), time; video.addEventListener('webkitbeginfullscreen', function() { play.innerText = 'Play Video Readers'; window.clearInterval(time); }); video.addEventListener('webkitendfullscreen', function() { video.pause(); }); play.addEventListener('touchstart', function() { time = window.setInterval(function() { try { video.webkitEnterFullscreen(); } catch(e) {} }, 250); play.innerText = 'loading ...'; video.play(); });