How to Embed a PowerPoint Presentation with Audio on a Website
Question details
The user wants to embed a PowerPoint presentation on a website and needs to ensure that the prerecorded audio within the slides plays correctly for visitors.

- Product
- PowerPoint
- Device & OS
- not provided
- Scenario
- Publishing an interactive PowerPoint presentation onto a webpage for online visitors to view and listen to.
- Observed behavior
- The embedded PowerPoint presentation displays the visual slides correctly, but prerecorded audio fails to play unless it is specifically added via the web version of PowerPoint prior to generating the embed code.
Ensure you have a Microsoft account with access to OneDrive or SharePoint, and keep your audio files ready on your local drive in a web-friendly format like MP3.
Add Audio via PowerPoint for the Web and Generate Embed Code
To guarantee that your audio plays properly in an embedded player, you must insert the audio files using the online version of PowerPoint before creating the iframe code.
Presentations created on the desktop version of PowerPoint may lose their audio playback functionality when embedded online. Using PowerPoint for the web bypasses this limitation.
Log in to your Microsoft account and upload your existing PowerPoint file to OneDrive or SharePoint.
Click on the uploaded presentation file in your browser to open it directly in PowerPoint for the web.
Navigate to the slide where you want the audio. Click on the 'Insert' tab on the top ribbon, select 'Audio', and choose the audio files from your computer to add them.
Once the audio is placed, click on 'File' in the top left corner, navigate to 'Share', and select 'Embed'.
Choose your desired dimensions, copy the generated iframe code, and paste it into the HTML code of your website.

Create and Edit Presentations Seamlessly with WPS Office
While embedding online presentations with audio requires Microsoft's web platform, you can easily build your slides, design layouts, and prepare your content using WPS Office before uploading them. It is a highly compatible, lightweight, and free alternative to Microsoft Office.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your PC or Mac.
- 2. Create or Open Presentation: Launch WPS Presentation to open your existing .pptx files or start a new slide deck from professional templates.
- 3. Save and Upload: Save your finished presentation as a .pptx file, which you can then seamlessly upload to OneDrive for web embedding.

Frequently Asked Questions
Why isn't the audio playing in my embedded PowerPoint presentation?
If the audio was inserted using the desktop version of PowerPoint, it may not function in the web embed player. You must upload the file to OneDrive or SharePoint and add the audio directly through PowerPoint for the web to ensure playback.
What audio formats are supported for PowerPoint for the web?
PowerPoint for the web generally supports standard audio formats such as MP3, WAV, and M4A. However, using MP3 is strongly recommended to ensure the audio plays across all major web browsers.
Can I set the audio to play automatically when the embedded slide loads?
Yes, after inserting the audio in PowerPoint for the web, select the audio icon on your slide, navigate to the 'Audio' tab on the ribbon, and change the playback settings to start automatically.
Do I need a paid Microsoft subscription to embed a presentation via OneDrive?
No, you can use a free personal Microsoft account with OneDrive to upload your presentation, edit it in PowerPoint for the web, and generate the necessary embed code.




