mergAVPlayerSet

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAVPlayerSet <pPlayerPointer>, <pProperty>, <pValue>
Associationsmergav
Summary

Set a player property

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

a pointer to the player in memory

pProperty

the name of the property you are setting which will be one

of
  • rect : the rect of the control
  • visible : the visible of the control
  • rate : the play rate of the player where 0 is paused. 1 is normal forward play and -1 is reverse. See "can play fast forward" and "can play fast reverse" properties
  • video gravity : how to size the video within the rect of the player. One of:

    • stretch
    • aspect
    • aspect fill
  • forward playback end time : set the time at which playback should end when the playback rate is positive. Time should be in milliseconds. The value of this property has no effect on playback when the rate is negative.

  • reverse playback end time : set the time at which playback should end when the playback rate is negative. Time should be in milliseconds. The value of this property has no effect on playback when the rate is positive.

pValue

the value to set the property to.

Description

Set a player property

Tagsexternals