Phaser API Documentation

  Version: 
Event: VIDEO_CREATED
Phaser.GameObjects.Events.VIDEO_CREATED
VIDEO_CREATED

Description:

The Video Game Object Created Event.

This event is dispatched when the texture for a Video has been created. This happens when enough of the video source has been loaded that the browser is able to render a frame from it.

Listen for it from a Video Game Object instance using Video.on('created', listener).

Parameters:

name type description
video Phaser.GameObjects.Video

The Video Game Object which raised the event.

width number

The width of the video.

height number

The height of the video.

Since: 3.20.0