Fix OneDrive Embedded MP4 Videos That Turn Black
Question details
The user needs to resolve OneDrive embedded MP4 videos that play normally in the OneDrive folder but display a black screen or playback error in an embedded player.
- Product
- Microsoft OneDrive
- Device & OS
- iPad (iOS) and web browser
- Scenario
- The user created a three-minute MP4 screen recording on an iPad, uploaded it to OneDrive, and embedded the returned link. The video plays directly in the OneDrive folder, but the embed shows the first frame and then goes black.
- Observed behavior
- The embedded iframe and direct OneDrive video URL show a black screen with the message 'Sorry, there was a problem playing the video,' while the MP4 plays correctly when opened from the OneDrive folder.
Before troubleshooting, confirm the MP4 plays directly in the OneDrive folder and locate the file's Share and Embed options. Note the original browser, the current embed code, and whether the file is shared with the intended viewers.
Test the Embedded MP4 in Another Browser and Verify the Share Link
Use this quick check when the video plays in the OneDrive folder but the embedded iframe stays black; it isolates browser compatibility or sharing permission issues.
Go to onedrive.live.com, sign in with the same Microsoft account, and open the video link in Microsoft Edge or Google Chrome.
In OneDrive, select the MP4 file, choose Share, and confirm that the file is shared with the intended viewers or that the link permission is set correctly.
Copy the complete iframe src URL from the OneDrive Embed dialog and paste it into a new browser tab to see whether the black screen follows the browser.
Re-Encode the MP4 to H.264 Video and AAC Audio Before Uploading
Use this solution when the black screen persists across browsers; OneDrive embedded playback is most reliable with widely supported H.264/AAC MP4 encoding.
Clear Browser Cache and Verify the OneDrive File Is Not Marked Protected
Use this cleanup step when the embedded video stalls on the first frame or still shows a playback error after re-encoding; it removes stale player data and checks file restrictions.
Use WPS Office as a Free Microsoft Office Alternative for Presentation and Document Work
WPS Office is a free, lightweight Microsoft Office alternative that handles PowerPoint, Word, Excel, and PDF files with a familiar interface and strong format compatibility. If OneDrive embedded video playback keeps failing on MP4 files, WPS Office lets you work with presentations and documents locally or through other sharing methods instead of depending on OneDrive embed playback.

Frequently Asked Questions
Why does my MP4 play in OneDrive but show a black screen in the embedded player?
This usually happens when the MP4 uses video or audio encoding that the OneDrive embedded player does not support well. Re-encode the MP4 as H.264 video with AAC audio, re-upload it, and generate a new embed code.
How do I re-encode an iPad screen recording for OneDrive embedding?
Import the iPad MP4 into HandBrake, Shutter Encoder, or a similar converter. Set the video codec to H.264 and the audio codec to AAC, use constant frame rate, convert, and upload the converted file to OneDrive.
Does OneDrive sharing permission affect embedded video playback?
Yes. In OneDrive, select the video, choose Share, and make sure viewers have access. If the file is private or the link permission is too restricted, the embedded player can show a black screen or playback error.
Which browsers work best for OneDrive embedded videos?
Test the embed URL in current versions of Microsoft Edge, Google Chrome, Firefox, or Safari. If one browser shows a black screen, clear the cache or open a private window to rule out stale player data.
What should I do if the embed code still shows 'Sorry, there was a problem playing the video'?
Copy the full iframe src URL and verify it is complete. Confirm the file is shared, test it in another browser, then re-encode to H.264/AAC and create a fresh OneDrive embed code.




