The static class that handles video playback.
Methods
- Initializes the video system
Name Type Description width
number The width of the video height
number 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 src
string The url of the video - Changes the display size of the video
Name Type Description width
number The width of the video height
number The height of the video - Sets the volume for videos
Name Type Description volume
number The volume for videos (0 to 1)