logo
search
File Sharing Problems

Fix Microsoft Sway Cannot Convert YouTube Embed Code

Huda QurayshiHuda Qurayshi Sep 25, 2026 869 views

Question details

The user is unable to embed YouTube videos in Microsoft Sway due to a conversion error and needs to know the correct method to embed external media and OneDrive files.

Fix Microsoft Sway Cannot Convert YouTube Embed Code
Product
Microsoft Sway
Device & OS
not provided
Scenario
Embedding external multimedia content like YouTube videos and OneDrive files into a Microsoft Sway presentation.
Observed behavior
Sway rejects new and previously working YouTube embed codes with a conversion error. Additionally, the standard method of linking OneDrive files fails to embed them properly.
Before you start

Ensure you have a stable internet connection and access to both your Microsoft Sway account and the original source files on YouTube or OneDrive.

Solution 1Recommended

Fix YouTube Embed Code Conversion Error

Update and correctly paste the complete YouTube iframe code to bypass Sway's conversion restrictions.

Microsoft Sway frequently updates its security and formatting rules for external content. Older embed formats or plain video URLs might be rejected with a conversion error, requiring the use of standard iframe codes.

1
Get YouTube iframe code

Navigate to the YouTube video you want to embed. Click the 'Share' button located below the video, then select 'Embed' to reveal the HTML iframe code.

2
Copy the code snippet

Click 'Copy' in the bottom right corner of the YouTube embed window to copy the entire iframe code snippet to your clipboard.

3
Add an Embed Card in Sway

Open your Microsoft Sway presentation. Click the '+' (Insert Content) icon on your Storyline, select the 'Media' tab, and choose 'Embed'.

4
Paste the embed code

Click inside the newly created Embed card and paste the copied YouTube iframe code directly into the field.

Fix YouTube Embed Code Conversion Error
Service Outages: If the correct iframe code is still rejected, Microsoft's external content servers may be experiencing temporary restrictions. Wait a few hours and try again.
Free Microsoft Office alternative

Create Seamless Presentations with WPS Office

If Microsoft Sway's embed restrictions and conversion errors disrupt your workflow, consider switching to WPS Office. WPS Presentation provides a reliable, lightweight, and highly compatible alternative to Microsoft's presentation tools, allowing you to insert local and online media without rigid code restrictions.

  1. 1. Launch WPS Presentation: Open WPS Office on your device and create a new presentation or open an existing PowerPoint file.
  2. 2. Insert Media: Navigate to the 'Insert' tab on the top ribbon and click on the 'Video' button.
  3. 3. Add your video: Select 'Online Video' to paste a video URL, or 'Local Video' to add a file directly from your computer without worrying about complex embed codes.
Completely free and lightweight alternative to Microsoft Office.High compatibility with Microsoft PowerPoint (.ppt, .pptx) formats.Easily insert local and online videos directly into your presentation slides.Familiar user interface that ensures a seamless and quick migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Sway reject my YouTube embed code with a conversion error?

Sway often rejects plain URLs or outdated embed formats. It strictly requires a complete HTML iframe code. Additionally, temporary Microsoft service outages can restrict external content embedding, causing even valid codes to fail.

Can I just paste a OneDrive file URL directly into Sway?

No, pasting a standard OneDrive sharing link into Sway usually will not display the file properly. You must open the file in OneDrive, use the Share menu to generate a specific '</> Embed' code, and paste that code into a Sway Embed card.

How do I add an Embed card in Microsoft Sway?

To add an Embed card, click the '+' icon at the bottom of any existing card in your Sway Storyline, navigate to the 'Media' tab, and select 'Embed'.

What other video platforms are supported by Microsoft Sway?

In addition to YouTube, Microsoft Sway supports embedding media from platforms like Vimeo, Microsoft Stream, and SoundCloud, as long as you copy and paste the official iframe embed code provided directly by those platforms.