Video#type

type : number The const type of this object. Source code: gameobjects/Video.js (Line 70)

Video#touchLocked

touchLocked : boolean true if this video is currently locked awaiting a touch event. This happens on some mobile devices, such as iOS. Source code: gameobjects/Video.js (Line 81)

Video#timeout

timeout : integer The amount of ms allowed to elapsed before the Video.onTimeout signal is dispatched while waiting for webcam access. Default Value 15000 Source code: gameobjects/Video.js (Line 119)

Video#textureFrame

textureFrame : Phaser.Frame The Frame this video uses for rendering. Source code: gameobjects/Video.js (Line 269)

Video#texture

texture : PIXI.Texture The PIXI.Texture. Source code: gameobjects/Video.js (Line 263)

Video#stop()

stop() → {Phaser.Video} Stops the video playing. This removes all locally set signals. If you only wish to pause playback of the video, to resume at a later time, use Video.paused = true instead.If the video hasn't finished downloading calling Video.stop will not abort the download. To do that you need tocall Video.destroy instead. If you are using a video stream from a webcam then calling Stop will disconnect the MediaStream session and disable the webcam. Returns Phaser.Video - This Vi

Video#startMediaStream()

startMediaStream(captureAudio, width, height) → {Phaser.Video} Instead of playing a video file this method allows you to stream video data from an attached webcam. As soon as this method is called the user will be prompted by their browser to "Allow" access to the webcam.If they allow it the webcam feed is directed to this Video. Call Video.play to start the stream. If they block the webcam the onError signal will be dispatched containing the NavigatorUserMediaErroror MediaStreamError event.

Video#snapshot

[readonly] snapshot : Phaser.BitmapData A snapshot grabbed from the video. This is initially black. Populate it by calling Video.grab().When called the BitmapData is updated with a grab taken from the current video playing or active video stream.If Phaser has been compiled without BitmapData support this property will always be null. Source code: gameobjects/Video.js (Line 288)

Video#setTouchLock()

setTouchLock() Sets the Input Manager touch callback to be Video.unlock.Required for mobile video unlocking. Mostly just used internally. Source code: gameobjects/Video.js (Line 1033)

Video#retryLimit

retryLimit : integer When starting playback of a video Phaser will monitor its readyState using a setTimeout call.The setTimeout happens once every Video.retryInterval ms. It will carry on monitoring the videostate in this manner until the retryLimit is reached and then abort. Default Value 20 Source code: gameobjects/Video.js (Line 149)