Home > Reference > Script triggers reference > OnObjectAVPlayerChange
OnObjectAVPlayerChange Triggers a script to run 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. Originated in FileMaker Pro 14.0 Notes • This script trigger is used in FileMaker Go. Related topics Setting up script triggers Setting script triggers for layouts Setting script triggers for objects