Subtitles / Closed Captions
To embed the subtitles for a AOD, make a PUT request to the following API with specific AOD id
provided:
PUT /bv/cms/v1/aods/:id/subtitles
Configure the subtitle
request body with the following options:
Attribute | Type | Description |
---|---|---|
id | string | Specify the ID of the subtitle you would like to embed. You can upload and obtain the ID for a subtile file using this API: POST /bv/cms/v1/library/files:upload srt , vtt 3 MB |
name | string | The name of the subtitle as it will appear on the BlendVision One console. |
code | string | Language code follows the RFC 5646 standard, utilizing the shortest ISO 639 code. e.g., en , ja , or zh . |
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":"en",
"display":"English"
}
]
}