Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 260
AVPlayer Play
Purpose
Plays audio, video, or images from a container field, layout object, or URL.
Format
AVPlayer Play [Object/Field/URL; Object: <value or formula>; Field:
<table::field>; URL: <value or formula>;
Presentation: Start Full Screen/Full Screen Only/Start Embedded/Audio
Only;
Disable Interaction: Yes/No; Hide Controls: Yes/No; Position: <value or
formula>;
Start Offset: <value or formula>; End Offset: <value or formula>]
Options
One of the following options specifies the source for the media:
Object specifies the layout object to play the media from.
Field specifies the container field to play the media from. The field doesn’t need to be
present on the layout.
URL specifies the URL to play the media from. You can type the URL or create a URL
from a calculation.
If no source is specified, the script step will use the active layout object, when possible.
Presentation specifies how to display the media. If the source for the media is a field or a
URL, the only options for Presentation are Full Screen Only and Audio Only.
Start Full Screen starts playing the media in full screen but allows changing the
presentation to embedded.
Full Screen Only plays the media in full screen.
Start Embedded starts playing the media as embedded but allows changing the
presentation to full screen.
Audio Only plays only the audio.
Disable Interaction enables or disables user interaction with the playback. If this option is
set to Yes, you cannot use the playback controls or gestures to interact with the media.
Yes disables user interaction with the playback.
No enables user interaction with the playback.
Hide Controls shows or hides the playback controls while the media plays. If you hide the
playback controls but enable interaction, you can use gestures instead of playback controls.
Yes hides the playback controls.
No shows the playback controls.
Position specifies how many seconds from the beginning of the media to start playback.
Start Offset specifies the beginning of the playback range in seconds from the beginning of
the media. The media can be played only within the playback range. For example, if you set
this option to 30, the user cannot rewind into or play the first 30 seconds of the media. The
default value for this option is 0, which allows the media to start from the beginning.
End Offset specifies the end of the playback range in seconds from the beginning of the
media. The media can be played only within the playback range. For example, if you set this
option to 100, the user cannot fast forward or play past the first 100 seconds of the media.
The default value for this option is 0, which allows the media to play to the end.