iframe on SharePoint 2013 site to show video from SharePoint Online gives "refused to connect"

Copper Contributor

Hi

 

I have a SP 2013 intranet and I want to display some videos in an iframe from SPO.

 

I try this ...

                    </iframe>
but I get 
mytenant.sharepoint.com refused to connect.
 
In my SP 2013 I go to Site Settings -  HTML Field Security
add mytenant.sharepoint.com but still no luck.
 
Thanks
P
1 Reply

@pmwhelan85 How you are getting link to video in document library?

 

Do not use "Copy link" option. Instead, try following the steps given in my answer to get the direct link to video in document library: Copy Link includes extra characters that won't work 

 

Then use this direct link in embed/iframe code.

 

Also, try adding tenant/host list to HTML Field Security Settings (if available in SP 2013) in site settings?

Similar threadUnable to embed videos on SharePoint pages 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.