Forum Discussion
How to embed Video into SharePoint
What is the best way to embed a video onto a page in SharePoint? As a web part? or through the insert tab?
I tried through both ways and others with videos from Microsoft Video and Youtube, but didn't work. An error message in the video player said 'Media failed to load. This file is a format that is not recognized.'
Any help on the best way to get this working would be great, and also a heads up with the best way for when Stream comes out.
9 Replies
- Deleted
may consider the "https://support.office.com/en-us/article/allow-or-restrict-the-ability-to-embed-content-on-sharepoint-pages-e7baf83f-09d0-4bd1-9058-4aa483ee137b?ui=en-US&rs=en-US&ad=US" and then https://support.office.com/en-us/article/add-content-to-your-page-using-the-embed-web-part-13cc66b6-d0c8-4894-85a7-820c20143797?ui=en-US&rs=en-US&ad=US
- John Aage AndersenIron Contributor
What we did to ensure that video presentation works in all our used browsers - we used HTML5 video element!
<video id="video" width="853" height="480" controls=""> <source id="source" src="" type="video/mp4"> </video>Just add your URL in the SRC attribute of the SOURCE element.
We did that using a javascript as we have a list of topics and thus several videos, that an employee should watch. When the employee chose a video to watch, the javascript paused the video player, updated the SRC attribute with the new URL and then loaded and started playing the video.
- Tessa EvansCopper Contributor
That didn't work.
I went to click embed video and pasted that in, along with the URL of the video, but came up with an error message "Unsupported video type or invalid file path"
- John Aage AndersenIron Contributor
What video source are you using?
What is the video type? MP4, OGG, other?
Please provide as much information for us to understand what you are doing, how you are doing it, and with actual code :)
Kind regards, John
This appears to be a duplicate of another question you've posted so I'll answer both.
Have you tried the steps here: https://support.office.com/en-us/article/Embed-a-video-from-Office-365-Video-59e19984-c34e-4be8-889b-f6fa93910581?ui=en-US&rs=en-US&ad=USHave you tried different videos to identify if the issue is with the video itself or the service?
- Tessa EvansCopper Contributor
Yes I have already tried this, and both of the ways in the link don't work, has the error message.
If you've tried with different video files and are getting the same issue then there's possible a problem with your Office 365 Video service. I'd suggest raising a Service Request to get them to look into it.