Video#Video
  • References/Game Development/Phaser/Game Objects/Video

new Video(game, key, url) A Video object that takes a previously loaded

2025-01-10 15:47:30
Video#isStreaming
  • References/Game Development/Phaser/Game Objects/Video

isStreaming : boolean Is there a streaming video source? I.e. from a webcam. Source

2025-01-10 15:47:30
Video#complete()
  • References/Game Development/Phaser/Game Objects/Video

complete() Called when the video completes playback (reaches and ended state).Dispatches the Video.onComplete signal.

2025-01-10 15:47:30
Video#connectToMediaStream()
  • References/Game Development/Phaser/Game Objects/Video

connectToMediaStream(video, stream) → {Phaser.Video}

2025-01-10 15:47:30
Video#playing
  • References/Game Development/Phaser/Game Objects/Video

[readonly] playing : boolean True if the video is currently playing (and not paused or ended)

2025-01-10 15:47:30
Video#videoStream
  • References/Game Development/Phaser/Game Objects/Video

videoStream :MediaStream The Video Stream data. Only set if this Video is streaming from the webcam via startMediaStream

2025-01-10 15:47:30
Video#createVideoFromBlob()
  • References/Game Development/Phaser/Game Objects/Video

createVideoFromBlob(blob) → {Phaser.Video}

2025-01-10 15:47:30
Video#type
  • References/Game Development/Phaser/Game Objects/Video

type : number The const type of this object. Source code:

2025-01-10 15:47:30
Video#snapshot
  • References/Game Development/Phaser/Game Objects/Video

[readonly] snapshot : Phaser.BitmapData

2025-01-10 15:47:30