I have a website with a video from Vimeo embedded as:
<iframe src="//player.vimeo.com/video/496371201" frameborder="0"></iframe>
Google says that it cannot index the video because I don't provide a thumbnail. Google's documentation for video best practices states:
Provide a high-quality thumbnail
To be eligible to appear in Google video features, a video must have a valid thumbnail image. Otherwise, the page may be indexed but would only appear as a plain blue link.
You can allow Google to generate a thumbnail, or provide one in one of the supported ways:
- If you're using the HTML tag, specify the poster attribute.
- In a video sitemap, specify the video:thumbnail_loc tag.
- In structured data, specify the thumbnailUrl property.
- If you allow Google to fetch your video content files, Google can generate a thumbnail for you.
Supported thumbnail formats: BMP, GIF, JPEG, PNG, WebP, and SVG.
I have the thumbnails as PNG files. What is the HTML code to include them as thumbnails near to the iframe embedded video from Vimeo so that Googlebot finds it?