此方法有一个常见的用例,如下所述。说明下方的按钮使用示例值填充 API Explorer,或打开全屏 API Explorer 显示使用这些值的代码示例。如果您更改值,代码示例也会动态更新。

This example updates a caption track. When updating a track, you must set the snippet.videoId, snippet.language, and snippet.name property values to the values set for an existing caption track.

You can change the snippet.isDraft property to make the track public or private.

You can also modify the track itself by uploading a new file.