phaser/src/gameobjects/events/VIDEO_PLAYING_EVENT.js
2023-04-11 00:39:14 +01:00

22 lines
737 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2013-2023 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Video Game Object Playing Event.
*
* The playing event is fired after playback is first started,
* and whenever it is restarted. For example it is fired when playback
* resumes after having been paused or delayed due to lack of data.
*
* Listen for it from a Video Game Object instance using `Video.on('playing', listener)`.
*
* @event Phaser.GameObjects.Events#VIDEO_PLAYING
* @type {string}
* @since 3.60.0
*
* @param {Phaser.GameObjects.Video} video - The Video Game Object which started playback.
*/
module.exports = 'playing';