วิธีการนี้มีกรณีการใช้งานทั่วไป 1 กรณีตามที่อธิบายไว้ด้านล่าง ปุ่มใต้คำอธิบายจะเติมค่าตัวอย่างใน API Explorer หรือเปิด API Explorer แบบเต็มหน้าจอเพื่อแสดงตัวอย่างโค้ดที่ใช้ค่าเหล่านั้น ตัวอย่างโค้ดจะอัปเดตแบบไดนามิกด้วยหากคุณเปลี่ยนค่า

This example adds a caption track to a video. The snippet.videoId, snippet.language, and snippet.name property values are all required. The snippet.isDraft property value can optionally be set to true to prevent the track from being publicly available.