You can determine an on-demand video's duration both in the UI and via our APIs.
There are a couple ways to find the duration of a video is that has been uploaded to uStudio:
- Standard uStudio video players display video duration in the progress bar on the bottom right. As an administrator, you can quickly determine duration by checking the Preview player on the video's editing page.
- You can also determine the duration of a video using uStudio's APIs. Perform a GET to the following endpoint:
/api/v2/studios/(Studio UID)/videos/(Video UID)/asset
This will return the duration of the video in seconds, as well as additional information about the video asset.