IMPORTANT: If you want your API key to be encrypted please remember to use the HTTPS protocol!
Captions API Methods
Captions retrieved over the API are built from a core time-synchronized document. You can specify a number of parameters in your request to tailor the output to your needs.
Get Captions for File
[GET] http://static.3playmedia.com/files/:file_id/captions.:format?apikey=:api_key
Note that in this case, :file_id is the internal tracking ID for 3Play Media.
Get Captions by Video ID
[GET] http://static.3playmedia.com/files/:video_id/captions.:format?apikey=:api_key&usevideoid=1
Note that the :video_id references a user-uploaded ID, such as a video ID for a Brightcove, Ooyala, Kaltura, or YouTube video. If that ID is present, the appropriate caption files will be found for that record. Make sure you set usevideoid=1 in the URL params.
Available Formats: srt, dfxp, smi, stl, qt, qtxml, cptxml, adbe
Get Captions by threeplay_transcript_id
This is useful for getting captions for translations or captions imports.
6 Comments