Reference > Script triggers reference > OnFileAVPlayerChange
 

OnFileAVPlayerChange

Performs a script if the media is playing from a field or URL, and the state of the player changes. The following events can activate this script trigger:

a user pauses, plays, or stops the media by using the playback controls or gestures

a video stops playing at the end of the video

the media stops playing because the AVPlayer Set Playback State script step was set to Stopped

a video stops playing because the AVPlayer Play script step starts playing a different video

To set a script trigger when the media is playing in a container layout object, see OnObjectAVPlayerChange.

When the script runs

After the event has been processed.

Modes in which the trigger can be used

Browse and Find modes.

Result

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

No 

FileMaker Go 

Yes 

FileMaker WebDirect 

No 

FileMaker Server 

No 

FileMaker Cloud 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

No 

Originated in 

FileMaker Pro 14.0

Related topics 

Setting up script triggers

Setting script triggers for layouts

Setting script triggers for objects