Phaser API Documentation

  Version: 
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
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