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)
.
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. |