added embed video function