The Video Game Object Error Event.
This event is dispatched when a Video tries to play a source that does not exist, or is the wrong file type.
Listen for it from a Video Game Object instance using Video.on('error', listener)
.
name | type | description |
---|---|---|
video | Phaser.GameObjects.Video |
The Video Game Object which threw the error. |
event | Event |
The native DOM event the browser raised during playback. |