Phaser API Documentation

  Version: 
Event: VIDEO_ERROR
Phaser.GameObjects.Events.VIDEO_ERROR
VIDEO_ERROR

Description:

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

Parameters:

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.

Since: 3.20.0