upload_texttrack
Add caption or subtitle tracks to a video by supplying WebVTT content. Specify language, track name, and default visibility.
Instructions
Add a caption or subtitle track to a video from WebVTT content you supply. Needs the upload scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vtt | Yes | The full WebVTT file content, starting with WEBVTT. | |
| name | Yes | Track name shown in the player's caption menu. | |
| type | No | Captions include sound cues for deaf viewers. Subtitles are dialogue only. | subtitles |
| active | No | Show this track by default. | |
| language | Yes | Language code, such as 'en' or 'en-US'. | |
| video_id | Yes | Video id. |