Wait for loadeddata event to load the video