How to include a Microsoft Stream video on embedded help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2018 11:02 AM
We're upgrading to Kingston and we became aware of the embedded help, we'd like to include videos in here, but instead of hosting them on youtube or vimeo we'd like to host on Microsoft Stream as we have more control over them.
I've played with the embed code and funny thing is that when I paste it, I am able to get it to work on the editor, but when I save it, the whole <div> section gets cleared out except for a few parameters:
Code working in editor:
<p>Here is where we can explain how to create a KB article in detail.</p>
<div class="video"><iframe src="https://web.microsoftstream.com/embed/video/cc042a5a-339c-45f6-8106-b9ffbe1b48c7?autoplay=false&showinfo=false" frameborder="0" allowfullscreen=""></iframe>
<p class="p">Video</p>
</div>
<p> </p>
After saving the record I see this:
<p> </p>
<p>Here is where we can explain how to create a KB article in detail.</p>
<div class="video"><iframe frameborder="0" allowfullscreen=""></iframe>
<p class="p">Video</p>
</div>
Is this the html sanitizer at work? I tried adding a video entry to the whitelist, but it doesn't seem to work:
video: {
attribute:["controls","width","height","src"],
}
Anyone tried embedding videos and had better luck? Any pointers you can give me?
Thanks!
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2020 01:49 AM
Hi tomashrobarik
We have a requirement to integrate MS stream video with servicenow knowledge base search source. So when end user search something in search widget(in service portal), the typeahead search will show suggestions for videos hosted on web.microsoftstream.com this website. And they can click the suggestion and go to the MS stream website and watch it.
Can you please help with your experience here?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2020 06:23 AM
This seems like a good candidate for scripted search source that allows you to search even within the external source.
You can check the official DOCS https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/build/service-portal/task/add-ta...
There is even some sample tutorial for an external knowledge base search source. You just need to handle the integration between the MS Stream video service and servicenow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2021 06:27 AM
Hi Tomash,
We would need this guideline, as we want to embed stream videos in Service Now
Could you send us a picture or help us with the code sample?
Thank you,
Best regards,
Alex

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2021 06:34 AM
Here are 2 blogs that I wrote that might help you out-
How to add a video to a Knowledge article
How to add a video to a Portal page
I hope that helps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2021 12:24 PM
Not sure what are your requirements. One way might be of course manual creation of knowledge articles within the instance, where you just simply embed those videos and you can provide additional keywords for better searching experience. If you are talking about the direct integration approach (using the external scripted search source), unfortunately I don't have any source code for that specific use case.