YouTube Video Embedding
📅 June 4, 2026⏱ 1 min read
Table of Contents
How Video Embedding Works
At step 10 of the pipeline, AI searches YouTube for relevant videos and embeds the most relevant one as an iframe in the article body.
[SCREENSHOT: Article with an embedded YouTube video — iframe player inside the article content]Setting Up YouTube API
- Create a project in Google Cloud Console
- Enable YouTube Data API v3 in the API Library
- Create an API key in Credentials
- Add it in Sites → [Your site] → Settings → Additional APIs → YouTube Data API v3
This is a site-level key — added separately for each connected site.
[SCREENSHOT: Site settings → Additional APIs — YouTube Data API v3 field]Without a Key
If no key is set, the video embedding step is skipped. All other pipeline steps continue normally.
Free Limits
YouTube Data API provides 10,000 units/day for free. A video search costs ~100 units — enough for ~100 articles with video per day.
In this section
Was this article helpful?