slightly updating the api to get video data