how to Store and open a video in a Knowledge Article in hrsd

bhujangi gawal2
Tera Contributor

Store and open a video in a Knowledge Article

5 REPLIES 5

bhujangi gawal2
Tera Contributor

This ok but any other way to do it .

all videos store in attachment table so storage issue again . so we dont want .

 

Ehab Pilloor
Giga Sage

Hi @bhujangi gawal2,

 

Since this involves security, you need to allow ServiceNow to use external links within an iframe. To achieve this, you must create an HTTP Response Header record and define which external sources are permitted for iframes in the Service Portal.

Here’s how you can do it:

  1. Navigate to sys_response_header.list and create a new record.
  2. Configure the necessary fields, such as:
    • Application
    • Name (e.g., Content-Security-Policy)
    • Other required fields (you’ll see them when creating the record).
  3. In the Value field, add something like:
    frame-src 'self' https://teams.microsoft.com
    This configuration means only links from your own instance (self) and Teams are trusted and can be used in iframes. Any link not listed here will be blocked.

Important Note:
The external sites you allow (e.g., Teams) must also permit their content to be embedded in iframes. This is not controlled on the ServiceNow side. For example, Teams needs to allow external domains (like your ServiceNow instance) to use their links in iframes. On their side, the configuration is similar but uses frame-ancestor instead of frame-src.

 

Reference: https://www.servicenow.com/community/developer-forum/iframe-with-external-website/m-p/3452749

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor