Video#onComplete

onComplete : Phaser.Signal This signal is dispatched when the Video completes playback, i.e. enters an 'ended' state. On iOS specifically it also fires if the user hits the 'Done' button at any point during playback. Videos set to loop will never dispatch this signal. Source code: gameobjects/Video.js (Line 96)

Video#onChangeSource

onChangeSource : Phaser.Signal This signal is dispatched if the Video source is changed. It sends 3 parameters: a reference to the Video object and the new width and height of the new video source. Source code: gameobjects/Video.js (Line 91)

Video#onAccess

onAccess : Phaser.Signal This signal is dispatched if the user allows access to their webcam. Source code: gameobjects/Video.js (Line 101)

Video#mute

mute : boolean Gets or sets the muted state of the Video. Source code: gameobjects/Video.js (Line 1217)

Video#loop

loop : boolean Gets or sets if the Video is set to loop.Please note that at present some browsers (i.e. Chrome) do not support seamless video looping.If the video isn't yet set this will always return false. Source code: gameobjects/Video.js (Line 1360)

Video#key

key : string The key of the Video in the Cache, if stored there. Will be null if this Video is using the webcam instead. Default Value null Source code: gameobjects/Video.js (Line 52)

Video#isStreaming

isStreaming : boolean Is there a streaming video source? I.e. from a webcam. Source code: gameobjects/Video.js (Line 140)

Video#height

height : number The height of the video in pixels. Source code: gameobjects/Video.js (Line 64)

Video#grab()

grab(clear, alpha, blendMode) → {Phaser.BitmapData} Grabs the current frame from the Video or Video Stream and renders it to the Video.snapshot BitmapData. You can optionally set if the BitmapData should be cleared or not, the alpha and the blend mode of the draw. If you need more advanced control over the grabbing them call Video.snapshot.copy directly with the same parameters as BitmapData.copy. Parameters Name Type Argument Default Description clear boolean <optional> false Sho

Video#game

game : Phaser.Game A reference to the currently running game. Source code: gameobjects/Video.js (Line 46)