Embed an external video in Drupal
Updated: November 27, 2026
If several Drupal articles need the same hosted video, save it as a Media Library item. A media type that accepts iframe sources lets editors choose it from each article. Check which media types your site has approved first. A watch link is also useful when external players are not permitted.
Check the media source
The contributed Iframe Media Embed Video module documents a source called Iframe Video and depends on Media, Media Library, and iframe. Its project page says it is outside Drupal’s security advisory policy. If it is not installed, ask the site maintainer which integration they approve for your version. If your site already provides an appropriate media type, use it with the current permissions.
Create an item editors can reuse
Suppose you have a 40-second clip showing how to install a part. Open Embed on the public Dembed video page. For a field that asks for a URL, use the HTTPS address from the iframe’s src attribute. Use the public watch page as a separate text link. Save the Drupal item with a name such as “Install the part” and choose it from Media Library in two articles that support media selection.
If the articles show the item differently, check which media field each display mode renders. Test any adjustment in a draft first. Keeping one library item can make replacement easier, and changing that item can affect every page where editors reused it.
Check both published articles as a reader
Open both pages without your editing session. Confirm they display the same clip, give it a meaningful title, and leave the controls visible on a phone. If one page fails, check its display mode and the audience’s permissions. If you correct the address on the media item, recheck the pages you know use it.
Frequently asked questions
Each media type accepts particular sources. Use one that supports the player address, or add a text link to the public watch page.