The Video class

This class is used to play video files.

Objects of this class behave like sprites, which means you can use methods like move to animate them.

Important

Audio bitrate must be 44100 kHz, otherwise the audio will sound distorted.

Properties

The Video class inherits all of the properties of the Sprite class.

Member functions

Method Description
(constructor) Create a Video object
play Starts video playback
stop Stops video playback
waitUntilFinished Blocks the execution of the script until the video has finished playing

The Video class inherits all of the methods of the Sprite class except defineSpriteSheet and setFrame.