Forum Discussion
Marc Mroz
Microsoft
Oct 03, 2022✨Get embed code for video in SharePoint or OneDrive
As of this morning October 3, 2022 we rolled out the ability to get an embed code for a video uploaded to SharePoint, OneDrive, Teams, or Yammer. GCC coming in soon.
From the ODB or SPO ...
Umut Genc
Dec 23, 2022Copper Contributor
I could not fully understand the embed access permissions. The statement (can't remember the source) is embedded video access permissions is determined by actual video file permissions on SP or OD. However "anyone with the link can view" (aka anyone links or anonymous access) permission is not respected by Stream embed feature...
It looks like this feature is not well-designed/thought...
It looks like this feature is not well-designed/thought...
- Umut GencDec 23, 2022Copper Contributor
Well, testing further I realize that anonymous access embed code works with default SharePoint Online configuration. However I still stand behind my argument this feature not being well-thought; when https://learn.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices turned on, viewing the embed webpart (configured with anonymous embed link) fails on all unmanaged devices while browsing the site. All SP site content is displayed except the anonymous stream video iframe...
- Marc MrozJan 03, 2023
Microsoft
Share links (Everyone in my organization or Anyone with the link) are different permissions than direct access permissions. The way embed codes in ODB/SPO for any file type (word, ppt, excel for the last several years) and now video files is the same, they work on "Direct access". Meaning the permission to the file or video needs to be applied without using a "Share link". So if you want everyone in your company to have view access you'd assign direct access to "Everyone Except External Users".
Unfortunately, there isn't a way to have public anonymous embed codes for any file in ODSP including videos today. This is something we are investigating for 2023.
I agree with you that the permissions in ODB/SPO are confusing and that the concepts of "Direct Access" and "Share Links" are hard for everyone to understand. We decided to start with video embed codes acting like all other file embed codes based on "Direct access" permissions.
I would encourage you to vote on or add new ideas to the ideas forum for public anonymous embed codes and/or for "anyone in the organization" embed codes that act more like share links do: https://aka.ms/StreamIdeas- elopez_sttJun 19, 2025Copper Contributor
It's 2025, when can we get anonymous embeds? Do we really have to resort to using YouTube? What are people paying microsoft for.