Fix Missing OneDrive Embed Code for Personal Videos
Question details
The user needs to generate an embed code to share a personal video, but the Embed option in OneDrive is missing or appearing inconsistently.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to generate an embed link for an MP4 video stored in a personal OneDrive account using a web browser.
- Observed behavior
- The Embed command under the Share menu appears intermittently. It may show up during the initial upload but disappear upon returning, even after clearing browser cache and cookies.
Ensure you are fully signed into your personal OneDrive account (not a business account) and verify that the MP4 video is completely uploaded and processed on the server.
Generate and Save the Embed Code Immediately After Uploading
Since the embed option often appears consistently right after uploading a new video, you should capture and back up the code immediately before navigating away.
Many users report that the Embed command is present immediately following a fresh file upload but disappears during subsequent visits. Taking advantage of this initial window is currently the most reliable workaround.
Log into OneDrive web and upload your MP4 video to a folder in your personal OneDrive account.
As soon as the upload completes, right-click the video file and select 'Share' from the context menu.
Look for the 'Embed' option (often represented by a </> icon) in the sharing panel and click on it.
Copy the generated HTML iframe code and paste it into a secure text document, such as Notepad or Word, so you have a permanent copy available even if the button disappears later.
Verify Account Sign-In and File Permissions
Make sure your browser session hasn't expired and that your sharing permissions allow for public embedding.
Report the Intermittent Issue to OneDrive Support
If the embed button remains permanently missing, escalating the issue to Microsoft Support is necessary as service experiences and feature rollouts vary by account.
Need a Reliable Office Suite? Try WPS Office
While troubleshooting cloud storage glitches and inconsistent sharing features in Microsoft services, consider using WPS Office for your daily document productivity. It offers a lightweight, highly compatible alternative for viewing, editing, and managing your files without the hefty subscription.

Frequently Asked Questions
Why did my old OneDrive embed links stop working as direct downloads?
Microsoft regularly updates its service infrastructure and link formats. The old method of modifying the embed URL by changing the word 'embed' to 'download' to force a direct file download is no longer supported with the new link structures.
Does clearing my browser cache fix the missing embed button?
In most cases involving this specific intermittent bug, clearing your browser cache and cookies (even in Microsoft Edge) does not resolve the issue. The missing embed command is often related to account-level feature rollouts or server-side interface bugs.
Is the Embed feature available for all OneDrive accounts?
No. The Embed option is primarily intended for Personal OneDrive accounts. If you are using OneDrive for Business or SharePoint, your organization's sharing policies dictate link types, and you generally will not see the standard HTML Embed option.
Why do public sharing links sometimes require users to sign in?
This can happen if the sharing link was accidentally created with 'Specific people' permissions instead of 'Anyone with the link', or if Microsoft's security algorithms flag the sharing activity. Ensure you are selecting public sharing options if you want the content accessible without a login.




