- Name
-
SetVideoPosition -- change output position of a video (V5.0)
- Synopsis
-
SetVideoPosition(id, x, y)
- Function
-
This function can be used to change the position of a video. If the
video is currently playing, it will be instantly moved to the new position.
If it is not playing, the specified position will be memorized until you
call PlayVideo() the next time.
Please note that this function must not be used for videos that are
played back in layered mode. You can change the position of video layers
using functions from layers library, e.g. ShowLayer().
- Inputs
-
- id
- identifier of the video whose position you want to change
- x
- desired x position for the video
- y
- desired y position for the video
- Example
-
SetVideoPosition(1, #RIGHT, #BOTTOM)
The code above moves video to the bottom-right edge of the current
display.