Closed Captions

You can add closed captions to videos, ads, remote assets, or YouTube videos.

Note: The default behavior of closed captions in the V3 Player is "Off". You can enable closed captions with the JavaScript function setClosedCaptionsLanguage(), described here.

Upload Closed Captions

[PUT]/v2/assets/asset_id/closed_captions<dfxp_file_content>

Get Closed Captions

[GET]/v2/assets/asset_id/closed_captions

Delete Closed Captions

[DELETE]/v2/assets/asset_id/closed_captions

Examples

This example adds closed captions to the IzNnllMjphu2XF3_UgPROoCi9B2rtWs asset:

[PUT]/v2/assets/IzNnllMjphu2XF3_UgPROoCi9B2rtWs/closed_captions
<dfxp_file_contents>

Backlot returns a 200 response.

Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

Was this article helpful?