added function to play youtube videos