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.FindPlayers

Finds all players in current window.

Component Version macOS Windows Linux Server iOS SDK
AVPlayer 7.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "AVPlayer.FindPlayers" )

Parameters

none

Result

Returns list of identifiers or error.

Description

Finds all players in current window.
Looks for interactive containers using AVPlayer for playback and returns new identifiers for them.
We added this function to query time of a playing interactive container on iOS.
Seems to work on Mac for FileMaker 16, too.
Looks on the current window with focus.

If you just moved to the record, please use a short script pause to have FileMaker actually load the video.

Examples

Query time of container playing container on iOS:

# find players
Set Variable [$list; MBS( "AVPlayer.FindPlayers" ) ]
# pick first one
Set Variable [$player; GetValue($list; 1) ]
# query time
Set Variable [$time; MBS( "AVPlayer.GetTime"; AVPlayer ) ]

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 30th May 2017, last changed 19th March 2021


AVPlayer.CloseView - AVPlayer.GetAsset

💬 Ask a question or report a problem