functions related to video embeds in wordpress