Embed Video in PowerPoint: What Embed Code Can Do Today

How-to basics · Updated November 21, 2026

You generally cannot paste a website’s raw HTML embed code into a PowerPoint slide and expect it to become a playable video. In Microsoft 365 for Windows, use Insert > Video > Online Videos and paste a supported video’s URL; if you have an embed code from a site PowerPoint does not support, use a video file or another presentation method instead.

What an embed code is—and why PowerPoint treats it differently

An embed code is a snippet of HTML that a website provides so a video can appear inside another web page. It commonly contains an iframe, which tells a web browser to load a video player from the hosting service. It is meant for a web page’s HTML editor, not for a PowerPoint slide’s normal text box.

PowerPoint slides are not general-purpose web pages. Typing or pasting code such as an iframe snippet onto a slide normally displays the characters as text; it does not create a working player. PowerPoint’s online-video feature handles supported video services through its own insertion process. That is different from letting you add arbitrary HTML, scripts, or a custom player.

This distinction also explains why a video may look embedded on a slide while its actual content is not stored in the presentation file. An online video object points PowerPoint to content hosted elsewhere. A local video file, by contrast, can be stored in the presentation or linked to a file, depending on the insertion method and options available.

Can you use an embed code in PowerPoint?

For most Microsoft 365 users, the practical answer is: not as raw code in a slide. The current online-video workflow is designed for recognized services and typically asks for the video’s web address. Enter the video page URL when PowerPoint requests a link. Do not assume a provider’s iframe code will work in the URL field; it may be rejected because it is not a video address in the format PowerPoint accepts.

Support can differ by PowerPoint release, platform, and video provider. Some older PowerPoint versions and older online tutorials describe an embed-code box or legacy methods. Those instructions may no longer match the current interface, and an old method can depend on browser components or services that have since changed. If the current dialog does not explicitly ask for embed code, do not paste HTML into it.

Also distinguish between a video URL and a share URL. A share link may redirect through a provider’s page and still work, while a private, restricted, or specially formatted link may not. Use the provider’s ordinary share link first, and test it in the presentation on the computer and network where it will be shown.

Insert a supported online video on Windows

In PowerPoint for Microsoft 365 on Windows, try these steps:

  1. Open the presentation and select the slide where the video should appear.
  2. Choose Insert > Video > Online Videos.
  3. Paste the video’s URL into the dialog. Use the video page or share URL, not the full HTML iframe snippet, unless the dialog specifically provides an embed-code option.
  4. Choose Insert. When the video appears on the slide, resize and position it using its handles.
  5. Save the presentation, then start Slide Show and test playback. Check that the computer has internet access and that the video is available without an account or permission the audience will not have.

The exact list of services and the wording of the dialog can change as Microsoft updates PowerPoint. If a URL is not accepted, check whether the service is supported in your installed version, whether the link opens normally in a browser, and whether the video owner has limited embedding or viewing. Inserting a link successfully does not guarantee that every audience member can play it.

What changes on Mac and PowerPoint for the web?

PowerPoint for Mac has an online-video insertion option in versions that support the feature, but the menu wording can differ from Windows. Look under Insert > Video for an online-video command; some releases use wording such as Online Movie. Paste a supported video URL when prompted. The available providers, dialogs, and playback behavior can vary with the PowerPoint release and macOS version, so test the actual presentation on the Mac you will use.

PowerPoint for the web also offers online-video insertion in supported environments, but browser and organizational settings can affect what is available. A feature that works in the desktop app may not behave identically in a browser, and vice versa. If an insertion command is missing, confirm that you are signed in to the right account, using a current version, and editing the presentation rather than viewing it in a restricted mode.

For a presentation that will move between Windows, Mac, and web, an online URL avoids carrying a large video file but depends on service and network access. A locally inserted video is often more predictable for offline playback, but it increases the presentation’s storage needs and should be tested on each target platform.

Online video versus a video file

Choose the source based on how and where the presentation will be delivered. An online video is convenient when the source is hosted on a supported service and the audience will have internet access. A local file is more suitable when you need playback without a network connection, when the hosting site is unsupported, or when the video is your own approved media.

  • Online video: Usually keeps the PowerPoint file smaller and can show the latest hosted version, but playback relies on the network, the video service, and access permissions.
  • Video inserted from your device: Can travel with the presentation when embedded, but adds file size and may need transcoding if the format is unsuitable.
  • Linked video: Can avoid storing another copy inside the deck if the insertion dialog offers linking, but the original file must remain at the expected location. Moving or renaming it can break playback.

To insert a local video on Windows, select Insert > Video > This Device and choose the file. The available insert or link choices depend on the dialog and version. On Mac, look under Insert > Video for the option to add a movie from a file. Common formats such as MP4 with H.264 video are generally a practical choice, but codec support can depend on the operating system and PowerPoint version. If playback matters, test the file in Slide Show mode rather than relying only on its thumbnail.

What happens to an online video during a presentation?

PowerPoint places a video object on the slide, but the player obtains the video from the hosting service when playback is requested. That means the video is not a dependable offline copy merely because it appears in the slide. The presentation needs a working connection, and the host must still serve the content. A firewall, blocked streaming site, expired link, removed video, or account requirement can prevent playback.

Some online players show controls or branding from the hosting service, and the playback experience is governed partly by that service. You may be able to resize the video frame and choose a poster image or playback behavior in PowerPoint, but you cannot assume that every provider exposes the same controls. Check the options available for the inserted object and preview the slide show.

For a live event, have a fallback. Keep a permitted local copy if you are entitled to download and use one, or prepare a clickable link to the video page. A link is not a substitute for an offline video, but it gives the presenter another way to open the source if the embedded player fails.

Why embed codes or online videos fail

When an online video does not insert or play, identify whether the failure happens while adding it or during playback. Those point to different causes. If PowerPoint rejects the entry, the value may be HTML rather than a URL, the provider may not be supported, or the link may use a format the current app cannot interpret. If it inserts but fails in Slide Show, investigate access, network, and service restrictions.

  • Code appears as text: That is expected when HTML is pasted into a normal text box. Remove it and use the online-video command or a supported video file.
  • PowerPoint rejects the link: Open the video in a browser, copy its ordinary share URL, and try again. Check the provider’s embedding and privacy settings.
  • It works on one computer only: The other computer may be offline, blocked from the video service, signed in to a different account, or running a version with different support.
  • It plays in edit view but not in Slide Show: Test in Slide Show mode and verify internet access, permissions, and the object’s playback options.
  • The link is broken after sharing: The owner may have removed or restricted the video. An online object points to the source; it does not preserve a copy of that source.

For an important presentation, test the actual saved file on the presentation computer, not just the original file on your own device. This catches network policies and account requirements before the audience is waiting.

Permissions, privacy, and accessibility

Only use video you are allowed to show. A video being publicly viewable does not automatically grant permission to download it, edit it, or redistribute a copy inside a presentation. Follow the rights and terms that apply to the source, and ask the owner or use properly licensed media when necessary. If a video is private or restricted, confirm that the intended audience has access before relying on it.

Consider what happens when the audience clicks or plays an online object. The hosting service may display its own interface, recommendations, or account prompts. If that is unsuitable for a classroom, client meeting, or public event, choose an approved local asset or a different source. Avoid using third-party tools that promise to turn arbitrary embed code into a PowerPoint player unless you understand what they access and how they handle the media.

For accessibility, provide captions where available and make sure the video’s spoken information is not the only way to understand a key point. Add a clear title or short description on the slide, and provide a transcript or equivalent information when appropriate. Captions and playback controls may come from the video service rather than PowerPoint, so check them in the audience’s likely viewing environment.

Frequently Asked Questions

Can I paste YouTube embed code directly into PowerPoint?

Usually not in current Microsoft 365. Use Insert > Video > Online Videos on Windows and paste the YouTube video URL. A raw iframe snippet in a text box will remain text, and an embed-code field should only be used if your particular PowerPoint version actually provides one.

Does an online video become part of the PowerPoint file?

No, not in the same way as a video file inserted from your device. An online video object points to hosted content, so it generally needs internet access and continued access to that video. Use a local video file when offline playback is essential and you have permission to include it.

Can I embed a video from any website?

No. PowerPoint’s online-video feature supports selected services and link formats, not every website that supplies an iframe. If the site is unsupported, insert a permitted local video file or place a normal hyperlink on the slide so viewers can open the source.

Will the video play if I email the presentation?

It may, but emailing the deck does not guarantee playback. The recipient needs a compatible PowerPoint version, a working connection, and permission to view the hosted video. Test with the recipient’s likely setup or provide an approved local file when the presentation must work offline.

What should I do if I only have an embed code?

Look for a share or watch-page URL from the video provider and try that in PowerPoint’s online-video dialog. If PowerPoint does not accept it, use a video file you are authorized to use, or make the code’s source page available through a hyperlink. Do not treat the embed snippet itself as a video file.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.