mergAVPlayerDo

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAVPlayerDo <pPlayerPointer>, <pDo>, [<pOption1>], [<pOption2>], [<pOption3>]
Associationsmergav
Summary

Perform a specified operation with the player

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pPlayerPointer

a pointer to the player in memory

pDo

the thing you want the player to do which will be one of: - play : start playing - pause : pause the player - seek : seek a time in the player. pOption1 must be a time in milliseconds. To have a highly accurate seek you may provide two additional times in pOption2 and pOption3 however this may result in a much slower seek. The message mergAVSeekCompletion is sent to the control that called mergAVPlayerDo. - replace asset : replace the player asset with a new one. pOption1 must be a valid asset pointer. - step by count : moves the player's current item's current time forward or backward by a specified number of steps. pOption1 must be an integer. A positive number steps forward, a negative number steps backward.

pOption1

(optional with "" default) a player action option

pOption2

(optional with "" default) a player action option

pOption3

(optional with "" default) a player action option

Description

Perform a specified operation with the player

Tagsexternals