code: function drawVideo(video) {
  			if (video.paused || video.ended || _stop) {
  				return false;
  			}
  			//nasty hack for FF webcam (Thanks to Julian Ćwirko, kontakt@redsunmedia.pl)
  			try {
  				_context.clearRect(0, 0, _w, _h);
  				_context.drawImage(video, 0, 0, _w, _h);
  			} catch(e) {
  
  			}
  			_drawTimeout = setTimeout(drawVideo, animation.duration, video);
  			link.setIcon(_canvas);
  		}
docs: Draw video to context and repeat :)