How to Fix Embedded YouTube Content Not Loading in Microsoft Sway
Question details
The user needs to fix an issue where embedded YouTube videos work perfectly in Microsoft Sway's Design mode but fail to load or display when the Sway is published or viewed.
- Product
- Microsoft Sway
- Device & OS
- not provided
- Scenario
- Publishing or viewing a Microsoft Sway presentation that contains embedded YouTube content.
- Observed behavior
- The embedded content appears normally in Design mode but does not load in the published or viewing experience.
Ensure you have a stable internet connection and verify that the original YouTube video is not set to private, as private videos cannot be viewed via embedded players.
Verify Embed Code and Test in a New Sway
Check if the embed code is supported and isolate the issue by testing the same YouTube content in a fresh Sway document.
Often, embedded content fails to load in the published view because of slightly malformed embed codes or temporary document corruption. Testing in a new Sway helps determine if the issue is with the content itself or the specific Sway file.
Go to the source of the YouTube video, click on 'Share', select 'Embed', and copy the exact iframe code provided by YouTube to ensure the format is supported.
Open Microsoft Sway in your browser and click on 'Create New' to start a blank presentation.
Paste the copied YouTube embed code into a Media Embed card in the new Sway, then switch to 'Play' or viewing mode to see if the content loads successfully.
Open a Service Request via Microsoft 365 Admin Center
If the embed issue persists across all new Sways, it may be a backend service restriction requiring administrator intervention.
Create Engaging Presentations with WPS Office
If you frequently encounter embed restrictions and cloud service issues with Microsoft Sway, consider using WPS Presentation as a reliable offline and online alternative. WPS Office provides a free, lightweight, and user-friendly platform for creating professional slideshows with easy media insertion and no complex embedding errors.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open WPS Presentation: Launch the application and click 'New' to start a presentation, or open an existing PowerPoint file.
- 3. Insert Media: Navigate to the 'Insert' tab and select 'Video' to add your media files directly to the slide deck seamlessly.

Frequently Asked Questions
Why does my embedded YouTube video only show in Sway's Design mode?
This commonly occurs due to unsupported iframe tags, restrictions placed by the video owner (like disabling embedding), or temporary service sync issues on Microsoft Sway's publishing servers.
Can I embed private YouTube videos in Microsoft Sway?
No. Microsoft Sway requires embedded YouTube content to be publicly accessible or unlisted. Private videos will prompt an error or simply not load in the published view.
What is the correct way to get a YouTube embed code for Sway?
Navigate to the YouTube video, click the 'Share' button beneath the player, select the 'Embed' option, and copy the provided HTML code starting with '<iframe'. Do not just copy the URL from your browser's address bar.




