Add checks for video element.