Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

AVPlayer.GetDuration

Queries the length of the video in seconds.

Component Version macOS Windows Linux Server iOS SDK
AVPlayer 7.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "AVPlayer.GetDuration"; AVPlayer )   More

Parameters

Parameter Description Example
AVPlayer The reference number of the player. $Player

Result

Returns number or error.

Description

Queries the length of the video in seconds.

See also

Example Databases

This function checks for a license.

Created 3th February 2017, last changed 3th February 2017


AVPlayer.GetControlsStyle - AVPlayer.GetFinishedEvaluate

💬 Ask a question or report a problem