removed hard coded video format
fixed bug for embed video detection