SetVideoDimensions

Description

Sets the width, height, and position of the video whilst it is playing. Can be called before or during playback. The coordinates are in AGK screen coordinates based on your chosen virtual resolution. The aspect ratio is not preserved and will be stretched to fit your chosen dimensions. To find the actual size of the video in pixels use GetVideoWidth and GetVideoHeight. An exception to the stretching is Windows which will always keep the aspect ratio of the original video and add black borders where necessary.

Definition

SetVideoDimensions( x, y, width, height )

Parameters