---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Embed videos in the HTML editor

# Embed videos in the HTML editor {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can insert videos into HTML fields. You can also add videos to the video library
using the HTML Insert/Modify Video form.

## Before you begin

Note:  
The Videos \[db_video\] table is a public table that does not have any security restrictions. Unauthenticated users have full access to videos uploaded to the db_video table. Role required: The role necessary to update the record that contains the HTML field. For example, any user with a role can create a knowledge article and embed a video in it.

## About this task

The following file formats are supported in the base system.

* MPEG-4 video .mp4
* WebM Video .webm
{#t_EmbeddingVideoInHTMLFields__ul_ffw_zhl_q4}  
The larger the file size, the longer it takes to download before the video starts. To reduce file size, you can reduce the bit rate, but doing so reduces the quality of the video. The following bit rates optimize download speed and video quality:{#t_EmbeddingVideoInHTMLFields__table_bqp_zt5_dgb__entry__2}

| Video resolution | Recommended bitrate |
|-|-|
| Standard definition (480p) | 1.5--2.5 megabits per second (mbps) |
| High definition (720p) | 3--5 mbps |
| High definition (1080p) | 6--8 mbps |
[ ]

{#t_EmbeddingVideoInHTMLFields__table_bqp_zt5_dgb}  
Note:  
For the best viewing experience the following specifications are suggested:
{#t_EmbeddingVideoInHTMLFields__table_j25_lmf_jsb__entry__2}

| Type | Definition |
|-|-|
| Size | 20MB |
| Bit rate | 320KBPS |
| Resolution | 480\*320 |
[Table 1. Optimal viewing settings]

{#t_EmbeddingVideoInHTMLFields__table_j25_lmf_jsb}  
Internet Explorer and Safari have difficulty streaming videos uploaded to the database. Attach a file rather than embedding if you intend to use one of these browsers or an unsupported file type. For more information on attaching files, see [Add and manage attachments](https://www.servicenow.com/docs/access?context=t_AddingAnAttachment&version=xanadu&pubname=xanadu-platform-user-interface&ft:locale=en-US).  
Note:  
Administrators and users with the image_admin role can manage the video library at System UIVideos.

## Procedure

1. Open the form that contains the HTML field.
2. Click the position where the video is to appear, or to modify an existing video, click the video.
3. Click the insert/edit video icon (![Insert or edit video]()) on the HTML editor toolbar.
4. Enter information in each field.  
   {#t_EmbeddingVideoInHTMLFields__table_insert_edit_embedded_media_fields__entry__2}

   | Field | Description |
   |-|-|
   | Type | Select the video type. * Video Library: List of videos stored in the db_video table. You can reuse it. * URL: from an external source * Attachment: available in the current record only {#t_EmbeddingVideoInHTMLFields__ul_wmg_4jl_q4} For an attachment or video library file, select a video from the list or click New. For an external URL, enter the URL. |
   | Size | Enter the Width and Height of the video in pixels. |
   [Table 2. Insert/Modify Video]

   {#t_EmbeddingVideoInHTMLFields__table_insert_edit_embedded_media_fields}
5. Click OK.

*[\>]: and then


