Phaser API Documentation

  Version: 
Event: VIDEO_UNSUPPORTED
Phaser.GameObjects.Events.VIDEO_UNSUPPORTED
VIDEO_UNSUPPORTED

Description:

The Video Game Object Unsupported Event.

This event is dispatched by a Video Game Object if the media source (which may be specified as a MediaStream, MediaSource, Blob, or File, for example) doesn't represent a supported media format.

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

Parameters:

name type description
video Phaser.GameObjects.Video

The Video Game Object which started playback.

event DOMException | string

The native DOM event the browser raised during playback.