One SEO professional asked John Mueller in a hangout about whether they can block embedded video pages or not.
Their question was: They are in charge of a video replay platform, and their embeds are indexed individually.
How can they prevent their embeds from being indexed in this fashion?
John explained that he looked at their website, and these embeds are iframes that include a simplified HTML page with a video player embedded in that.
From a technical point of view, if a page has iframe content, then they see those two HTML pages. And it’s possible that their systems index both of those HTML pages because they are separate HTML pages.
One is included in the other usually, but they could theoretically stand on their own as well. And there’s one way to prevent that, which is a fairly new combination, with robots meta tags.
You can use the indexifembedded robots meta tag, together with a noindex robots meta tag. So the HTML file with the video directly in it, you would add the combination of noindex plus indexifembedded robots meta tags.
That would mean that if Google finds a page individually, they will see “oh, there’s noindex, they don’t have to index this.” But with the index embedded, it tells Google that, actually, if they find this page with the video embedded within the general website, then they can index that video content. This means that the individual HTML page would not be indexed, but the HTML page with the embed with the video information, this is what would be indexed normally.
So that’s the setup that John recommends using there.
This is a fairly new robots meta tag, so it’s not something that everyone really needs. This combination of iframe content or embedded content is actually pretty rare.
For some sites, however, it just makes sense to do it this way.
This happens at approximately the 19:00 mark in the video.