Modified the sample to use a video file