added check if video element exists before play()