The static class that handles video playback.
Methods
-
Initializes the video system.
Name Type Description widthnumber The width of the video.
heightnumber The height of the video.
-
Checks whether the video is playing.
Returns:
Type Description boolean True if the video is playing. -
Starts playback of a video.
Name Type Description srcstring The url of the video.
-
Changes the display size of the video.
Name Type Description widthnumber The width of the video.
heightnumber The height of the video.
-
Sets the volume for videos.
Name Type Description volumenumber The volume for videos (0 to 1).