Content Management

Update Video Subtitles

You can update the associated subtitles for a specific video even after uploading and encoding a video asset. However, ensure that the necessary subtitle files have been uploaded before proceeding.

To update the subtitles, you need to make a PUT request to the following API:

PUT /bv/cms/v1/vods/{id}/subtitles

The subtitle object has several attributes, which are described below:

Attribute Type Description
id string The unique identifier for the subtitle.
name string The name of the subtitle as it will appear on the console.
code string The language code (alph3-b format) for your subtitle. You can find supported values here.
display string The name of the subtitle language as it will appear on the player.

Here is an example of a request body:

{
  "subtitles":[
    {
      "id":"your-subtitle-id",
      "name":"English",
      "code":"eng",
      "display":"English"
    }
  ]
}

 

Updated