razharov
Senior Member
- Oct 19, 2022
- 898
- 961
Hey everyone!
The title says for itself. As you all might know, having a video in an article helps for SEO, but at the same time It slows down loading, and also if its not your video, you are generating views for someone for free.
To avoid this, I created this schema verified code, that google recognises as a video, but if you put this code in to your website, no video will be shown anywhere.
If you place this code into your site, and validate it with rich snippets, it will recognise your page as it has a video in it.
Can't tell if this actually works, but google is fooled with the code for sure, so by theory it should work.
The title says for itself. As you all might know, having a video in an article helps for SEO, but at the same time It slows down loading, and also if its not your video, you are generating views for someone for free.
To avoid this, I created this schema verified code, that google recognises as a video, but if you put this code in to your website, no video will be shown anywhere.
HTML:
<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
<meta itemprop="name" content="How to Make Homemade Potato Chips" />
<meta itemprop="description" content="This video is about something." />
<meta itemprop="uploadDate" content="2022-01-01T12:00:00+00:00" />
<meta itemprop="duration" content="PT1M33S" />
<meta itemprop="thumbnailUrl" content="XXXX-YOURVIDEOIMAGE-XXXX.jpg" />
<meta itemprop="contentUrl" content="https://www.youtube.com/watch?v=jNQXAC9IVRw” />
</div>
If you place this code into your site, and validate it with rich snippets, it will recognise your page as it has a video in it.
Can't tell if this actually works, but google is fooled with the code for sure, so by theory it should work.