此方法有一個常見用途,說明如下。說明下方的按鈕會將範例值填入 API Explorer,或是開啟全螢幕 APIs 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.