logo
search
Others

How to Fix Microsoft Sway YouTube Embed Code Not Converting or Displaying

Rana GarciaRana Garcia Sep 27, 2026 869 views

Question details

The user needs to resolve an issue where YouTube embed codes fail to convert or display as playable videos in Microsoft Sway.

How to Fix Microsoft Sway YouTube Embed Code Not Converting or Displaying
Product
Microsoft Sway
Device & OS
not provided
Scenario
Embedding a YouTube video into a Sway presentation using an embed code.
Observed behavior
When pasting the YouTube embed code into the Sway Embed Card, the code fails to convert into a playable video and either displays as raw text or remains blank.
Before you start

Ensure that your internet connection is stable and that you have copied the full <iframe> embed code directly from the YouTube sharing menu.

Solution 1Recommended

Verify Video Privacy and Embed Code Format

Use this solution to ensure the YouTube video is publicly accessible and that the correct iframe code is being used for Sway.

Microsoft Sway requires videos to be publicly accessible to pull the metadata and display the player. It also strictly requires standard <iframe> embed codes rather than simple URLs.

1
Check YouTube video privacy settings

Navigate to the YouTube video you want to embed. If it is your own video, ensure the visibility is set to 'Public' or 'Unlisted' in YouTube Studio. Private videos cannot be embedded in Sway.

2
Copy the standard embed code

Click the 'Share' button under the YouTube video player, then select 'Embed'. Click 'Copy' to grab the entire <iframe> code block.

3
Paste into a Sway Embed Card

In your Sway storyline, click the '+' icon, go to the 'Media' tab, and select 'Embed'. Paste the copied <iframe> code directly into the Embed Card.

Verify Video Privacy and Embed Code Format
Tip for formatting: Ensure you are not pasting a standard web link (like https://youtu.be/...) into an Embed Card, as Sway will fail to convert it.
Free Microsoft Office alternative

Create Engaging Presentations with WPS Office

If Microsoft Sway continues to experience background service errors when embedding media, consider switching to WPS Presentation. As a free, lightweight, and powerful Microsoft Office alternative, WPS Office offers a familiar interface, seamless multimedia integration, and full compatibility with Microsoft PowerPoint formats. You can effortlessly insert local and online videos to craft professional, reliable slide decks.

  1. 1. Download and Install: Visit the official WPS Office website to download and install the free software on your device.
  2. 2. Open WPS Presentation: Launch WPS Office and open a new or existing Presentation document.
  3. 3. Insert Video: Navigate to the 'Insert' tab, select 'Video', and choose to insert a local video or link an online video directly to your slide.
Fully compatible with Microsoft PowerPoint (.ppt, .pptx) formatsEasily embed and play videos without unexpected conversion errorsFree and lightweight Office suite with a familiar, user-friendly interfaceSeamless migration of your existing presentation files
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Sway just show the raw code instead of the video?

This happens if you paste a simple video URL instead of the HTML <iframe> embed code, or if Sway is experiencing a known background service bug that prevents the text from being parsed into a media player.

Can I upload a video directly to Sway instead of embedding from YouTube?

Yes. If embedding fails, you can add a 'Video' card instead of an 'Embed' card, and upload a supported video file (like MP4) directly from your device to your Sway presentation.

Are private YouTube videos supported in Sway?

No. YouTube requires videos to be set to either 'Public' or 'Unlisted' to allow embedding on third-party sites like Sway. If a video is set to 'Private', the embed code will not display the video.