Get Caption Tracks for a Video Frame

Introduction

The following API method allows you to get information about caption tracks of a video frame. You can choose whether to retrieve the caption contents or just their IDs and titles.

GetVideoCaptionTracks

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks GET Returns caption tracks of a video frame. GetVideoCaptionTracks

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of the slide.
shapeIndex integer path true The 1-based index of the shape; must refer to a video frame.
includeData boolean query false True to include captions contents (DataAsString property) in the response.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage containing the folder.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Examples

Get information about caption tracks for a video frame, which is the 1st shape on the 3rd slide in MyFolder/MyPresentation.pptx file saved to the default storage. The response will not contain captions data because the includeData property is not set to true.

cURL Solution

SDK Solutions

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Slides Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.