Consolidating functions into getVideoData