Component for capturing video from webcam