fix video_ready api