Make VideoPlayer::playVideo block until the video finishes