Office 365 video/stream

Is it possible to use video from Office 365 video/stream to create interactive content?

otacke's picture

Hi geirgran!

I don't know Office 365 video/stream, unfortunately. It might work of if gives you direct access to the video file. Sometimes, those links are "hidden" in a website's source code and can be retrieved by having a look there and searching for usual video suffixes such as .mp4.

Stream of office 365 convert your file in abr and the player is in flash.   it do not work in h5p.  

we tried the same thing and it do not work because, office 365 stream, convert your mp4 in abr and play it in flash.

We would really like to be able to include our O365 Stream hosted videos in H5P Interactive content. Please advise if there is a way to do this based on the information below or if I should log a feature request.

Regards,

Christina

Microsoft provides direct URLs to Stream videos, e.g. https://web.microsoftstream.com/embed/video/f6df81b2-9438-4154-b32c-c023... where the video ID is after the final /

The Microsoft page about oembed is here https://docs.microsoft.com/en-us/stream/embed-video-oembed

This does not appear to be currently true for our environment:
"The multimedia plugins filter finds a link in text that points to a multimedia resource and replaces the link with an appropriate multimedia player code which can play the resource. It also replaces <video> and <audio> tags with selected video and audio players."

If we use Atto Editor media button to insert media video source URL the result is "no video with supported format and MIME type found"
<video controls="true"><source src="https://web.microsoftstream.com/video/405948a2-0ecb-4062-b4ae-1beabfb974d9">https://web.microsoftstream.com/video/405948a2-0ecb-4062-b4ae-1beabfb974...

We embed these videos in our Moodle activities with the following Generico template

<iframe width="@@width@@" height="@@height@@" src="https://web.microsoftstream.com/embed/video/@@id@@?autoplay=@@autoplay@@&amp;showinfo=true" frameborder="0" allowfullscreen=""></iframe>

The Page content
{GENERICO:type="Stream_video",width="1024",height="576",id="405948a2-0ecb-4062-b4ae-1beabfb974d9",autoplay="true"}
Produces
<iframe width="1024" height="576" src="https://web.microsoftstream.com/embed/video/405948a2-0ecb-4062-b4ae-1bea..." frameborder="0" allowfullscreen=""></iframe>

icc's picture

Hi Christina, 

Unfortunately, Microsoft Stream is a proprietary solution that requires its own player to be displayed in the browser, so it's not possible to use their videos as a source in the default H5P Video Player. Also, it's not possible to create a custom integration like we've done for YouTube either as they do not offer any open APIs for developers to build upon. I.e. it appears this is not just a video hosting service but they control the whole chain.

I would recommend going with something else for video hosting, e.g. Vimeo Pro or something similar with a video transcoding service.

Hi ICC,

thank you for your response.

Microsoft have been promising an API for a while https://techcommunity.microsoft.com/t5/microsoft-stream-forum/stream-api....

We'll have to wait for that if a solution using <iframe> can't be used inside H5P Interactive Content fields. Adding yet another third-party tool isn't possible in our environment.

If anyone else has suggestions or work arounds for media hosted in any of the O365 suite, please let me know :-)

..But no solution at the moment

Maybe a solution might be in sight. The possibilty to access video files on Office 365 by APIs is launched last September 2020. The current possibilty is made available at OneDrive and SharePoint storage. This will also be the storage of New Microsoft Stream service. The current Stream environment is referred as classic.

See https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=Rolling%20... at the items of

New Microsoft Stream: Public APIs for videos in OneDrive and SharePoint

Enable basic programmatic capabilities (upload, edit, fetch, display) for videos in OneDrive and SharePoint via the existing Microsoft Graph Files APIs.

Is anyone here developing an H5P Video Player against this API?