Forum Discussion
williamdw
Feb 24, 2022Copper Contributor
Embedding Stream videos outside Office environment
In Stream (Classic), users have the ability to generate embed (iframe) code. This enables users to embed the videos in environments outside the Office suite - such as in blogs and web sites. As an HE...
Ron
Jan 06, 2023Copper Contributor
Have there been any updates on this? We are trying to embed videos into our external LMS via Stream (Sharepoint) and iframes with no luck. The users gets a flashing login screen but never gets the video. The LMS has SSO via O365. So, you would think the authentication would have already taken place. The strange thing is, if the users goes to the sharepoint document library where the files are store he can see the files. Now he can go back and the video works. What are we missing? We are not using any shared links. The user is in the Sharepoints site visitor group which has read access to the whole site, including all the files.
Baardaap
Jan 24, 2023Copper Contributor
We seem to have the same issue here.
In the classic stream embedding to our '3rd party intranet' works fine but trough Stream on Sharepoint we get the same flashing screen.
Now I'm no expert on webservers and stuff but I did some research and noticed the cookies for stream classic are being placed when there's embedded video on the page, when I embed trough stream on sharepoint the cookies aren't being placed.
Apparently there is a samesite cookie setting in sharepoint online that is not set to allow cookies to be placed when it's a third party webpage.
As it's in sharepoint online I don't think we're able to change these cookie settings.
I have opened a supportcase with Microsoft last week but did not yet get a response.
For now having people visiting the sharepoint before opening it through an iFrame will give a workaround as the cookies will then be placed.
In the classic stream embedding to our '3rd party intranet' works fine but trough Stream on Sharepoint we get the same flashing screen.
Now I'm no expert on webservers and stuff but I did some research and noticed the cookies for stream classic are being placed when there's embedded video on the page, when I embed trough stream on sharepoint the cookies aren't being placed.
Apparently there is a samesite cookie setting in sharepoint online that is not set to allow cookies to be placed when it's a third party webpage.
As it's in sharepoint online I don't think we're able to change these cookie settings.
I have opened a supportcase with Microsoft last week but did not yet get a response.
For now having people visiting the sharepoint before opening it through an iFrame will give a workaround as the cookies will then be placed.