When enabled, video will loop indefinitely.
Tells if video currently playing.
Tells current timestamp of the video.
Video height. Value is undefined until video is ready to play.
Video width. Value is undefined until video is ready to play.
Disposes of the currently playing Video and frees GPU memory.
load(path:String, ?onReady:() ‑> Void):Void
Loads and starts the video playback by specified
path and calls
onReady when playback becomes possible.
@param path The video path. Have to be valid file-system path for HL or valid URL (full or relative) for JS. @param onReady An optional callback signalling that video is initialized and began the video playback.
Sent when video playback is finished.
Sent when there is an error with the decoding or playback of the video.