getCaptions
Returns captions (subtitles) for a video.
Categories:
http://your-server/rest/getCaptions Since 1.14.0
Returns captions (subtitles) for a video. Use getVideoInfo to get a list of available captions.
Parameters
| Parameter | Req. | OpenS. | Default | Comment |
|---|---|---|---|---|
id | Yes | The ID of the video. | ||
format | No | Preferred captions format (“srt” or “vtt”). |
Example
http://your-server/rest/getCaptions.view?id=123&u=demo&p=demo&v=1.13.0&c=AwesomeClientName&f=jsonResult
Returns the raw video captions.