added function to get duration of youtube videos