What’s the best way for me to add VideoObject schema to an embedded video?
-
Hi everyone,
The structured data testing tool is giving me a lot of errors on the Schema front. I think this is because my VideoObjects are extremely simple iFrame embeds at the moment with no description or anything. Here’s how I’m embedding now:
<iframe width=”1280″ height=”720″ src=”https://www.youtube.com/embed/bcQH864e0u4?rel=0&showinfo=0″ frameborder=”0″ allowfullscreen></iframe>
I see that within the Schema plugin there’s automatic support for oEmbed, but I’m not sure how to implement that as easily. Basically, should I change my embedding method to oEmbed, or is there a way for me to use iFrame still?
I’d just like to know what the best practice is for the future, and if there was an example of how to do it that’d be awesome!
Tristan
- The topic ‘What’s the best way for me to add VideoObject schema to an embedded video?’ is closed to new replies.