Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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