Has YouTube Embed

Has YouTube Embed is a boolean signal that returns 1 when the rendered page body contains a recognized YouTube embed-player URL, and 0 when it does not. It confirms only that the embed markup is present — it does not test playback, and it does not judge the video’s relevance or quality.

Factor IDRG-MED-003
FamilyMedia & embeds
MeasurementBoolean presence (0 / 1)
Measured zoneRendered, script-free page body

What it measures

Has YouTube Embed indicates whether the page body contains a recognized YouTube embed-player URL. It is a simple presence check: either an embed-player reference is found in the measured markup, or it is not.

How RankGear measures it

RankGear searches the rendered, script-free page body case-insensitively for the string //www.youtube.com/embed/. One or more matches return 1; no match returns 0. Short links, watch-page links, privacy-enhanced domains, and alternate embed formats may not be recognized, and playback is not tested.

What RankGear looks for

<iframe src="https://www.youtube.com/embed/VIDEO_ID"></iframe>
ValueMeaning
1A recognized //www.youtube.com/embed/ URL was found in the measured body.
0No recognized embed-player URL was found — including cases where a valid but alternate YouTube embed format is used.

How to optimize it

Embed a relevant video when it genuinely improves explanation, demonstration, evidence, or engagement. Support it with descriptive surrounding text, captions or a transcript, accessible controls, responsive dimensions, and lazy loading where appropriate. Treat this factor as an observation about the page, not a target to hit: because RankGear matches the specific //www.youtube.com/embed/ pattern, a page can carry a working video and still read 0 if it uses an alternate embed format.

Important considerations

  • A zero can occur with a valid alternate YouTube embed format — the video may play fine while not matching the detected pattern.
  • Video can add significant performance and privacy costs, so weigh those against the benefit.
  • Presence does not assess the video’s topical relevance or quality.
  • Do not add video merely to change the factor.
  • This is a correlation-based prioritization signal within a measured result set, not a cause of ranking — presence of an embed does not make a page rank or guarantee position.

Related factors

Part of the Factors reference · how RankGear measures · glossary.