-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds metadata event to Video Game Objects and a starting texture Fix #…
- Loading branch information
Showing
3 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @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 Metadata Event. | ||
* | ||
* This event is dispatched when a Video has access to the metadata. | ||
* | ||
* Listen for it from a Video Game Object instance using `Video.on('metadata', listener)`. | ||
* | ||
* @event Phaser.GameObjects.Events#VIDEO_METADATA | ||
* @type {string} | ||
* @since 3.80.0 | ||
* | ||
* @param {Phaser.GameObjects.Video} video - The Video Game Object which fired the event. | ||
* @param {DOMException|string} event - The native DOM event the browser raised during playback. | ||
*/ | ||
module.exports = 'metadata'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters