(How to) Add Video Schema
-
Google Search Console is showing video related errors due to its inability to determine the thumbnail image for the video in the gallery.
This can be resolved by adding VideoObject schema.org markup.
Option 1: add this to the plugin, maybe with a setting to enable/disable.
Option 2: add it as integration for Yoast SEO, Rank Math, etc.
Option 3: provide an action or filter hook, which receives all the required information (name, description, thumbnailUrl, uploadDate, contentUrl OR embedUrl). This will allow developers to add their own markup.
For this option, it’s best to run an action during
wp_head
, to enable writing the markup into the HEAD section of the page. If using a filter, it will simply allow adding the markup along with the video itself.The page I need help with: [log in to see the link]
- The topic ‘(How to) Add Video Schema’ is closed to new replies.