Functions Reference

Table Of Contents
Logical functions
F
ILEMAKER FUNCTIONS REFERENCE 236
presentation The method used to display the media:
0 (Embedded)
1 (Full Screen)
2 (Full Screen Only)
3 (Audio Only)
number
position The position (in seconds) currently playing in the
media.
number
startOffset The starting position of the playback (in seconds). number
endOffset The end position of the playback (in seconds);
returns 0 if playing to the end of the media.
number
duration The length of time (in seconds) that the audio or
video file will play.
number
triggerEvent Indicates why the last OnObjectAVPlayerChange or
OnFileAVPlayerChange script triggers were
activated:
0 (Internal)
1 (Script)
2 (Remote)
number
triggerEventDetail Provides information about the event that activated
the last OnObjectAVPlayerChange or
OnFileAVPlayerChange script trigger:
0 (Unknown)
1 (RemotePlayMedia)
2 (RemotePause)
3 (RemoteTogglePlayPause)
4 (RemotePlayNext)
5 (RemotePlayPrevious)
6 (RemoteSeek)
7 (RemoteStop)
8 (ScriptPlayMedia)
9 (ScriptChangePresentation)
10 (ScriptTogglePlayPause)
11 (ScriptStop)
12 (ScriptChangeSetting)
13 (InternalTogglePlayPause)
14 (InternalChangePresentation)
15 (InternalSeek)
16 (InternalStop)
number
sequence Indicates which media file should be played next:
0 (None)
-1 (Go to previous)
+1 (Go to next)
number
result 0 if playback ends successfully; returns 1 if playback
ends due to an error.
number
hideControls 1 (Yes) if the playback controls are hidden; otherwise
returns 0 (No).
number
Attribute Returns
Data type
returned