Reference > Script triggers reference > OnObjectAVPlayerChange
 
OnObjectAVPlayerChange
Performs a script when the state of the media in a layout object 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
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 
 
Where the script trigger is activated 
Supported 
FileMaker Pro 
No 
FileMaker Server 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
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