oEmbed plugin: Getting error when submitting the form