I need a component that will return from youtube API - video ID markup for schema.org for videos.
Gatsby is connected to WordPress as CMS, there is an input where we put youtube ID,
it's fetched via graphql and returned to component with post template.
there in the header your new youtube component should be field with data example in the attachement.
There have to be a little logic: if there is no video ID schema should not be shown.
here are live site where it will be implemented:
You will not have access to server, I can provide all website files (gatsby) and clone of wordpress site.