Phaser API Documentation

  Version: 
Event: VIDEO_STOP
Phaser.GameObjects.Events.VIDEO_STOP
VIDEO_STOP

Description:

The Video Game Object Stopped Event.

This event is dispatched when a Video is stopped from playback via a call to the Video.stop method, either directly via game code, or indirectly as the result of changing a video source or destroying it.

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

Parameters:

name type description
video Phaser.GameObjects.Video

The Video Game Object which stopped playback.

Since: 3.20.0