Fix video detecting