Embed video content in help topics - Other than Vimeo or Youtube

Simon Sparke
Tera Contributor

When editing a sys_embedded_help_content record, you have the option to add a video into the content.
When attempting to add a video it has the message "Only embedded videos from Youtube and Vimeo are supported. Copy the entire embedded video snippet into the text area below."

If you add in an embedded snippet from any other source other than vimeo or youtube, it strips out your iframe from the HTML when saving the record/field.

I'm assuming this is because the embedded source does not start with "player.vimeo" or "youtube.com"

My organization host videos within SharePoint & I'm able to add these into other areas of servicenow where html editing is available. (and we cannot host them on Vimeo or Youtube)

Does anyone know why there is this limitation and if it can be removed/bypassed?

Thanks 

1 ACCEPTED SOLUTION

Miguel Donayre
ServiceNow Employee
ServiceNow Employee

Hello,

Try this-

Go to the embedded help form—Right-click on the "Content" to pull up the filed context menu. Click on the "Configure Dictionary" option.

 

find_real_file.png

When the new form opens up, go to the attributes section and add a new attribute. 

find_real_file.png

 

You will call it "HTML Sanitize" and set the value to false. This will stop the system from stripping out the code.

find_real_file.png

Now you can add custom code. For example, I upload a video to the db_video table and add the code to the embedded help. 

find_real_file.png

find_real_file.png

 

If you are referencing an outside source, you will need to add the link to a system property - 

Go to sys_properties.LIST once there search for this system property - "glide.html.enable_media_sites"

I added the Microsoft Stream site as an example.

In the value section, add the following after the last value. In this example, after the "vimeo.com" is the last value. You have to add a "," to separate the site. Once you are done, save.

,microsoftstream.com,web.microsoftstream.com

 

find_real_file.png

 

 

I hope that helps out!!

View solution in original post

5 REPLIES 5

BenS24570419223
Tera Contributor

Hi Simon, the above solution is absolutely correct.  Another option I might suggest is looking at an integrated external video delivery solution.  We have a scoped app on the store that you might be interested in. Give this video watching if you're interested in learning more reach out. Thanks


@Simon Sparke wrote:

When editing a sys_embedded_help_content record, you have the option to add a video into the content.
When attempting to add a video it has the message "Only embedded videos from Youtube and Vimeo are supported. Copy the entire embedded video snippet into the text area below."

If you add in an embedded snippet from any other source other than vimeo or youtube, it strips out your iframe from the HTML when saving the record/field.

I'm assuming this is because the embedded source does not start with "player.vimeo" or "youtube.com"

My organization host videos within SharePoint & I'm able to add these into other areas of servicenow where html editing is available. (and we cannot host them on Vimeo or Youtube)

Does anyone know why there is this limitation and if it can be removed/bypassed?

Thanks 



https://vbrick.com/videos/embed-secure-vbrick-hosted-video-in-servicenow/