Forum Discussion

Tessa Evans's avatar
Tessa Evans
Copper Contributor
Jan 18, 2017

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

  • 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

  • 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 Evans's avatar
      Tessa Evans
      Copper 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 Andersen's avatar
        John Aage Andersen
        Iron 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

    • Tessa Evans's avatar
      Tessa Evans
      Copper Contributor

      Yes I have already tried this, and both of the ways in the link don't work, has the error message.

       

      • Loryan Strant's avatar
        Loryan Strant
        MVP

        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.

Resources