Skip to main content
Question

Is it possible to embed a youtube video using iFrame?

  • April 3, 2026
  • 1 reply
  • 13 views

I’m trying to add in an iFrame of a youtube video, and the system is telling me youtube is blocking it. I have placed the address under the safe URLs, but the video will not play. I must be doing something wrong. 

 

1 reply

Moshe.Machlav
Helper III
Forum|alt.badge.img+1

Before diving into the iframe setup,have you considered using Docebo's native Video training material type?

When I've set this up for organizations, we typically avoid using iframes for YouTube unless it's strictly for a Custom Widget on a dashboard. For courses, using Docebo's native Video > Embed video URL option is much cleaner. It bypasses the Iframe Allow List entirely and handles the tracking for you.

If you definitely need to use an iframe (or if you find the native embed is also blocked), the issue is almost certainly coming from YouTube's side.

Two things to check:

  1. Embed Link Format: You must use YouTube's specific embed URL (https://www.youtube.com/embed/VIDEO_ID), not the standard browser URL (.../watch?v=).

  2. Creator Restrictions: The video owner must actually allow embedding. If the creator has disabled embedding for that specific video in their YouTube settings, it will be blocked no matter how perfectly you configure Docebo.

Just in case, ensure https://www.youtube.com is in your Iframe Allow List under Advanced Settings > E-Learning.

Here is the documentation on using the native Video embed feature: https://help.docebo.com/hc/en-us/articles/360020082860-Creating-a-video-training-material-from-a-video-URL

And the specifics on using the Iframe Allow List: https://help.docebo.com/hc/en-us/articles/360020083000-Creating-an-HTML-page-as-training-material