Phaser API Documentation

  Version: 
Event: VIDEO_UNLOCKED
Phaser.GameObjects.Events.VIDEO_UNLOCKED
VIDEO_UNLOCKED

Description:

The Video Game Object Unlocked Event.

This event is dispatched when a Video that was prevented from playback due to the browsers Media Engagement Interaction policy, is unlocked by a user gesture.

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

Parameters:

name type description
video Phaser.GameObjects.Video

The Video Game Object which raised the event.

Since: 3.20.0