2019-10-11 11:26:24 +00:00
|
|
|
/**
|
2024-02-19 17:12:18 +00:00
|
|
|
* @author Richard Davey <rich@phaser.io>
|
|
|
|
* @copyright 2013-2024 Phaser Studio Inc.
|
2019-10-11 11:26:24 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The Video Game Object Seeking Event.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-10-11 11:26:24 +00:00
|
|
|
* This event is dispatched when a Video _begins_ seeking to a new point in its timeline.
|
|
|
|
* When the seek is complete, it will dispatch the `VIDEO_SEEKED` event to conclude.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-10-11 11:26:24 +00:00
|
|
|
* Listen for it from a Video Game Object instance using `Video.on('seeking', listener)`.
|
|
|
|
*
|
|
|
|
* @event Phaser.GameObjects.Events#VIDEO_SEEKING
|
2022-09-21 21:01:03 +00:00
|
|
|
* @type {string}
|
2019-10-11 11:26:24 +00:00
|
|
|
* @since 3.20.0
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-10-11 11:26:24 +00:00
|
|
|
* @param {Phaser.GameObjects.Video} video - The Video Game Object which started seeking.
|
|
|
|
*/
|
|
|
|
module.exports = 'seeking';
|