parse video type into the videos array, with mime type as key