The CreatorCon Call for Content is officially open! Get started here.

Servicenow portal

tejasgautam
Tera Contributor

My requirement is :- I want to play sharepoint video on servicenow widget inline within servicenow widget.

 

Video is playing on next tab when I click on play icon

 

Flow:- whenever any user upload a video through add content (widget) it goes to sharepoint and sharepoint gives me metatdata which stored in my custom table..

 

For example:-  id , weburl etc etc.

 

I am trying to embed the video used <iframe>

 

I was abel to create embed url 

But video is not playing inline servicenow widget

 

When I click on play button it ask me login to Microsoft 365 when I login ig I get white window , video is not playing ..

 

And in console I get error some tenant policy is restricting inline javascript code .

 

So I want to understand is that issue from my end or some sharepoint policy which is restricting embedding for servicenow domain?

 

 

 

 

1 REPLY 1

Nawal Singh
Giga Guru

Hi @tejasgautam ,

 

I have tested the below code in my PDI and it's working fine, please review in your end and let me know

<video width="640" height="360" controls>
  <source src="https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

 

If you found my response helpful, please mark it as helpful and accept it as the solution.

Thank you
Nawal Singh