Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 262
AVPlayer Set Playback State
Purpose
Pauses, resumes, or stops playing a media file that is playing or is paused.
Format
AVPlayer Set Playback State [Paused/Playing/Stopped]
Options
Paused pauses playing the media file.
Playing resumes playing a media file that has been paused.
Stopped stops playing the media file. After a player is set to stop, it cannot be set to play
with this script step.
Compatibility
Originated in
FileMaker Pro 14.0
Description
Use this script step to pause, resume, or stop playing a media file that is playing or is paused.
Example 1
Resumes playing a media file that has been paused.
AVPlayer Set Playback State [Playing]
Example 2
Stops a media file if it is playing.
If [GetAVPlayerAttribute("playbackState") = 1
AVPlayer Set Playback State [Stopped]
End If
Where the script step runs Supported
FileMaker Pro No
FileMaker Server No
FileMaker Go Yes
Custom Web Publishing No
FileMaker WebDirect No
Runtime solution No