Others

Add an MP3 Audio File to a SharePoint Online Page

Kushani NimanthikaKushani Nimanthika Nov 14, 2026 868 views

Question details

Add an MP3 stored in OneDrive or SharePoint to a SharePoint Online page so visitors can play it there.

Add an MP3 Audio File to a SharePoint Online Page
Product
SharePoint Online
Device & OS
not provided
Scenario
A page editor wants to provide an audio player on a modern SharePoint page.
Observed behavior
Visitors should be able to play the MP3 directly from the page without navigating to the file.
Before you start

Upload the MP3 to OneDrive or a SharePoint document library and make sure the intended page visitors have permission to access it. You also need permission to edit the SharePoint page and, if required, approval to embed content from the file's domain.

Solution 1Recommended

Embed the MP3 with an iframe

Try this approach when you have a direct MP3 URL and the file source permits iframe embedding.

1
Copy the file URL

In OneDrive or the SharePoint document library, locate the MP3 and copy a URL that opens the audio file directly. A sharing link that opens a preview page may not behave like a direct MP3 URL.

2
Add the Embed web part

Open the SharePoint page, select Edit, and use the plus button where you want the player. Choose the Embed web part.

3
Enter the iframe code

In the Embed web part, enter an iframe such as <iframe src="YOUR_DIRECT_MP3_URL" width="100%" height="100"></iframe>, replacing YOUR_DIRECT_MP3_URL with the file URL.

4
Publish and test

Select Republish or Publish, then open the page as an intended viewer and test playback. The player appearance depends on the browser and how the file is served.

If the iframe does not play: The file may be forced to download, require access the viewer does not have, or be blocked from framing. Ask a SharePoint administrator to check the site's embedding settings and the source's framing restrictions.
Free Microsoft Office alternative

Work with Office files alongside your SharePoint content

WPS Office is a free, lightweight alternative for creating and editing office files. Its familiar interface and Microsoft Office format compatibility make it easy to move existing documents into your workflow. SharePoint audio embedding remains a SharePoint task.

Create supporting documents and presentations for content shared through SharePoint.Open and edit Microsoft Office formats, including DOCX, XLSX, and PPTX.Use a familiar interface for everyday document work.Move existing Office files into a lightweight suite.
microsoft office alternative - wps office

Frequently Asked Questions

Can I paste an HTML audio tag directly into the SharePoint Embed web part?

The standard Embed web part expects a supported URL or iframe embed code, not a standalone audio tag. Host the audio element on an approved page and embed that page, or ask an administrator about an approved custom web part.

Why does the embedded MP3 download instead of play?

The file source may be configured to force downloads rather than serve the MP3 for browser playback. Test the direct file URL in a browser and ask the file or hosting administrator to check how it is served.

Why can I play the audio but other page visitors cannot?

Visitors need permission to access the MP3 and, if applicable, the hosted player page. Check the file's sharing settings in OneDrive or the SharePoint document library and test with an intended viewer's account.

What should I do if SharePoint blocks the iframe?

Ask a SharePoint administrator to review the site's HTML Field Security or embedding settings for the source domain. The source server must also allow its content to be framed; changing SharePoint settings alone cannot override a server restriction.