Content Management

Update video subtitles

You can still update the associated subtitles for a specified video once you have uploaded and encoded the video asset. Beforehand, ensure you have uploaded the required subtitle files. By using a PUT request to the following API with subtitles:

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

The attributes of the subtitle object are described here.

 

Here is an example of a request body:

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

You can find the supported values here for the code field in the subtitles object.

更新