waiting for ready state of video