Forum Discussion

Emily_Gloscol's avatar
Emily_Gloscol
Copper Contributor
Nov 21, 2018
Solved

Microsoft Stream and oEmbed

Hello,    We're trying to use use oEmbed in a WordPress blog to share videos which have been uploaded to Microsoft Stream (Office 365).   I've been looking at the guide: https://docs.microsoft.c...
  • Marc Mroz's avatar
    Nov 21, 2018

    Our oEmbed endpoint allows you to programmatically switch a regular stream link into it's iFrame/embed equivalent. There would need to be code written that detects when you paste the stream link into wordpress, that it crafts the right call to oEmbed and then gets the iframe out of the response and puts it into the blog post instead of the link.

     

    Did you write some plugin/code or do configuration on Wordpress to call our oEmbed endpoint? 

    From a quick search it looks like Wordpress supports a bunch of oEmbed endpoints by default (like YouTube and other public/consumer products), but depending on if you host your own WP or not you might be able to add URLs to whitelist, but not sure if this works with Stream or not, you'd have to play with it.

     

    https://codex.wordpress.org/Embeds

Resources