changes made in for loop to check languages available for videos