To use video embed code in PowerPoint, copy the full embed code from a supported video site, then choose Insert > Video > Online Videos on Windows and paste it into the embed-code field. Insert the video and test it in Slide Show mode while connected to the internet. An online video is streamed during the presentation; the code does not usually put the video file inside your PowerPoint.
What You’ll Need
- A supported video hosted online, such as a YouTube video, with embedding enabled by its owner. Not every site or video can be embedded.
- Internet access while inserting the video and whenever you want to play it. Your presentation computer must be able to reach the video host.
- A recent desktop version of PowerPoint and permission to edit the presentation. The names and availability of online-video controls can vary by platform and update.
- The video’s embed code. For YouTube, open the video, select Share, select Embed, and copy the complete code shown. It typically begins with an iframe tag.
Step-by-Step
- Check that the video can be embedded. Open the video on its hosting site and look for an option such as Share or Embed. On YouTube, select Share > Embed. If the Embed option is missing, disabled, or accompanied by a restriction notice, the owner may have blocked embedding. You will need a different video or permission from the owner. A private or age-restricted video may also require viewers to sign in, so check access on the account and device you plan to use for presenting.
- Copy the complete embed code. In the host’s embed panel, select Copy or select and copy all the code. Keep the opening and closing tags, as well as the address and other text between them. Do not copy only the video page address if you specifically need to enter embed code. If the host offers options such as a start time, set them before copying; available options depend on the service.
- Open the slide where the video belongs. In PowerPoint for Microsoft 365 on Windows, select the presentation and then the target slide in the thumbnail pane. Leave enough clear space for the video, or plan to resize it after insertion. If the slide uses a busy background, consider placing the video on a simple area so it is easy to see during playback.
- Open the online-video insertion control. On Windows, select Insert > Video > Online Videos. In the dialog, look for a box intended for a video URL or embed code. Paste the code into the embed-code box, not into a search field. Some Microsoft 365 builds show a URL-oriented dialog or provide a different layout. If your dialog does not offer an embed-code field, use its supported URL option with the video’s page link, or check PowerPoint’s help for your build; do not paste the iframe into a field that accepts only a web address.
- Insert the video. Review the dialog before confirming. If PowerPoint recognizes the code and displays a preview or an enabled Insert button, select Insert. The video appears on the slide as an online-video object. If PowerPoint reports that the code is unsupported, check the troubleshooting section below and try the host’s direct video URL if your dialog accepts URLs. Avoid editing the code unless the video provider or your organization’s support team gives you specific instructions.
- Position and size the video. Select the inserted object and drag a corner handle to resize it proportionally. Drag from its middle to move it. Use the alignment guides that appear to line it up with other slide content. Avoid making the video so small that captions or controls are difficult to see. If you need a particular widescreen shape, keep the object’s proportions rather than stretching it, which can distort the picture.
- Preview playback in the slide show. Select Slide Show > From Current Slide on Windows, then select the video or its play control. Confirm that the picture and sound work, that the clip starts at the intended point, and that it fits the slide. A still preview while editing does not prove the video will play. Test with the same account, network, and presentation device you expect to use, because sign-in requirements and network restrictions can change what viewers can access.
- Save and prepare to present. Save the presentation as a PowerPoint file and reopen it, if practical, to verify that the online-video object remains on the slide. Remember that saving the file does not normally make an online video available offline. If you will present somewhere with unreliable internet, arrange an approved local video file or another offline backup, and insert that separately with Insert > Video > This Device. Check that you have permission to use and distribute any downloaded or locally stored video.
On Mac: In PowerPoint for Microsoft 365 for Mac, look under Insert > Video > Online Movie. Paste the embed code or video address if the dialog provides the corresponding field, then insert and test the object. The wording and supported inputs can differ from Windows and between Mac releases. If you do not see an online-video option or cannot enter the code, update PowerPoint if your organization allows it, consult the help for your exact version, or try the supported URL route. For a slideshow test, use Slide Show > Play from Current Slide if that command appears in your Mac version.
Common Mistakes
- Copying the wrong thing. A normal sharing URL and an iframe embed snippet are different. If the dialog requests embed code, copy the whole snippet from the host’s Embed panel. If it asks for a URL, enter the video page address rather than pasting code into the wrong field.
- Expecting the video to travel with the presentation. Online-video code points to a hosted player; it generally does not contain the video itself. The slide may show a blank player or an error without internet access or if the original video is removed.
- Assuming every video is public and playable. A video can be restricted by its owner, require sign-in, be unavailable in a region, or be blocked by a workplace or school network. Verify the audience can access it before relying on it.
- Testing only in editing view. The slide editor may show a thumbnail or a play control without actually streaming the video. Always test in Slide Show mode and, for important presentations, on the presentation computer.
- Stretching the video to fit. Dragging a side handle can change the video’s proportions. Resize from a corner, and check the result in the slide show so faces and text do not look distorted.
Tips
- Use the host’s own embed controls. They provide the code in the format the service expects. If you need the video to start at a particular time, use the host’s start-time setting before copying, when available, then confirm the timing in PowerPoint.
- Keep a backup plan. For an important talk, carry a separately prepared offline copy only if you have the rights to use it, or prepare a replacement slide with a link and a short explanation. Do not assume that a downloaded video can be embedded or distributed without permission.
- Make the slide understandable if playback fails. Add a short caption or a sentence explaining what the audience should notice. This helps the presentation continue if a connection drops, while avoiding a slide that depends entirely on a working player.
- Use a reliable connection and allow time to load. Streaming quality depends on the network and host. Connect to the presentation network before starting, avoid testing only on a fast home connection, and wait for the player to load before clicking repeatedly.
- Check captions and sound. Confirm that captions are available and readable, and verify the room’s audio setup. If the audience needs captions, enable them in the player during the presentation when the service supports them; PowerPoint may not control every host-player setting.
Troubleshooting
PowerPoint rejects the code or Insert is unavailable: Check that you copied the entire embed snippet from the provider and that the video permits embedding. Confirm that you are in the online-video dialog, not the command for inserting a file from your device. If your PowerPoint dialog accepts only a URL, copy the video page address and use that supported route. A provider’s code may not be supported by your PowerPoint version, even if it works in a web browser.
The video appears, but will not play: First check the internet connection and open the video host in a browser on the same computer. If the host asks for a login, sign in with an account that has access. A school or company firewall, proxy, content filter, or privacy setting may block streaming. Ask the network administrator whether the video host is allowed. Also check whether the owner has removed the video or disabled embedding since you added it.
The slide shows an error or blank area: Close and reopen the presentation, then test again in Slide Show mode. If the error remains, remove the online object and insert it again using the current embed code or supported URL. Confirm that the link is not a temporary or private preview link. If the video works in a browser but not PowerPoint, update Office where possible and check whether the feature is supported in your release. Do not assume that reinstalling the presentation or changing its file extension will fix a blocked video.
It works on one computer but not another: Compare internet access, PowerPoint version, host sign-in, and network restrictions. The receiving computer needs access to the video service too; sending the presentation file alone may not be enough. Test on the actual presentation device and avoid relying on a personal account that the presenter will not have access to at the venue.
You need playback without internet: An online embed is not an offline copy. If you have the right to use a local video file, insert it separately through Insert > Video > This Device on Windows, or the corresponding movie-from-file option on Mac. Test the local file in the slide show and keep it in a location available to the presentation computer. For current file compatibility and sharing behavior, check PowerPoint’s guidance for your version.
Frequently Asked Questions
Does embed code put the video inside the PowerPoint file?
No. An online embed generally adds a player that streams the video from its host. You need internet access and continued access to the video. A locally inserted video file is a different approach.
Can I paste a YouTube embed code directly into PowerPoint?
Yes, when your PowerPoint version’s Online Videos or Online Movie dialog supports an embed-code field and the video allows embedding. If the dialog asks only for a URL, use its URL option instead.
Can I use an online video without an internet connection?
Not reliably. The embedded player streams from the hosting service. For offline playback, use a permitted local video file and test it on the computer you will present from.
Why does the video play in my browser but not in PowerPoint?
The embed may be unsupported, the video owner may restrict playback in embedded players, or the network may block PowerPoint’s connection to the host. Try the supported URL method, check access and restrictions, and test on the presentation network.
Will the video play for people I send the PowerPoint to?
Only if their PowerPoint supports the online video, their device can reach the host, and they have any required access or sign-in. Include a link or an approved backup plan if viewers may face access limits.
Can I change when an embedded video starts?
Sometimes. Set a start time in the hosting site’s embed options before copying the code, if that service offers the option. Then test playback in PowerPoint; the available timing controls vary by provider.
Related
- How to Make a Poster in PowerPoint: A Practical Guide
- Instrument Inventory Spreadsheet: Setup and Key Fields
- How to Make a Poster from PowerPoint Slides
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Power Query: Combine Queries ExplainedIn Excel Power Query, combine queries with Append to stack rows from similar tables, or Merge to match…
- How to Print Timestamps from Google Sheets ClearlyTo print timestamps from Google Sheets, format the cells as date and time, select the sheet or range…
- How to Add a Background Watermark in Word for Every PageTo add a background watermark in Word for Microsoft 365 on Windows, open the document, choose Design >…
- Use Power Query to Merge Excel Files: A Practical GuideIn Excel for Microsoft 365 on Windows, go to Data > Get Data > From File > From…
- Excel Export to CSV: Options and What They MeanIn Excel for Microsoft 365 on Windows, export a sheet by choosing File > Save As, selecting CSV…
- How to Import Contacts in Outlook From ExcelTo import contacts from Excel into Outlook, arrange each person on a separate row, save the worksheet as…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.