Hello,
We apologize for the issue you are facing with the video schema not generating as expected. Thank you for detailing the steps you’ve taken so far.
Based on your description, it seems that you have correctly enabled the necessary settings for video schema generation. However, there are a few points to consider:
-
Autodetect Video: Ensure that the videos you are embedding are from supported platforms like YouTube or Vimeo. Rank Math can only fetch details from these platforms.
-
Video Title and Description: Rank Math should automatically pull the video title and description from YouTube when the video is embedded correctly. If it’s not doing so, please double-check that the video URL is correctly embedded in your post.
-
Thumbnail Generation: The thumbnail should be automatically generated if the Autogenerate Image option is enabled and the video is hosted on a supported platform. If it’s still using the featured image, it may indicate an issue with how the video is embedded.
-
Manual Removal of Old Schema: If you have previously added schema manually or through another plugin, it might conflict with Rank Math’s schema generation. Ensure that any old schema is removed before generating new schema.
-
Testing with New Posts: Since you mentioned trying a new page, ensure that the video is embedded using the correct embed code provided by YouTube, not just a link.
If you have checked all these points and the issue persists, we recommend replying to this ticket. A human agent from the Rank Math Support team will be able to assist you further and provide more specific guidance based on your setup.
Thank you for your patience, and we look forward to resolving this for you!
Hello,
Thanks for contacting us and sorry for the inconvenience caused.
The Autogenerate Image option only works for the Video Schemas generated after enabling it. It will not add the thumbnail URL to the existing Video Schemas. In this case, you will have to add a featured image to the posts to fix the issue or add the thumbnail URL manually in the Video Schema.
You can delete the current Video Schema from the Schema tab of Rank Math, and then regenerate the video schema again from Rank Math > Status & Tools > Database tools > Generate Video Schema for Old Posts and see if that works for you.
Concerning the video description this happens when the website is being rate-limited by YouTube while trying to fetch the data from the video page and that’s why you only see the thumbnail in a few instances before the YouTube platform blocks access to your website.
We are going to change the implementation to use the public YouTube API to circumvent this issue but at the moment that feature is not yet implemented so if some rate-limiting happens, the thumbnail and also the description, which you will see it’s all the same, will be like that.
We hope this helps.
Thanks.
Thanks for the info! If the title, description, and thumbnail still need to be set manually, that feature doesn’t seem very useful. Looking forward to seeing the public YouTube API implementation.
Is there a way to update the title, description, and thumbnail URL externally like you can do with posts with the WordPress Rest API?
Facing same indexing issue on my webiste: Spotfypremium.com
Hello,
The only way to change the schema properties of the video schema is by accessing the schema builder or you can tap into our filter code to change them globally:
add_filter( 'rank_math/snippet/rich_snippet_videoobject_entity', function( $entity ) {
return $entity;
}, 99);
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.