browser.js
function nextFrame() {
		if (currentVideo.paused || currentVideo.ended) {
			return;
		}
		context.drawImage(currentVideo, 0, 0);
		requestAnimationFrame(nextFrame);
	}
function nextFrame() {
		if (currentVideo.paused || currentVideo.ended) {
			return;
		}
		context.drawImage(currentVideo, 0, 0);
		requestAnimationFrame(nextFrame);
	}
function nextFrame ( ) { if ( currentVideo . paused || currentVideo . ended ) { return ; } context . drawImage ( currentVideo , 0 , 0 ) ; requestAnimationFrame ( nextFrame ) ; }
drawing new frame
drawing new frame