File tree Expand file tree Collapse file tree
src/loader/filetypes/typedefs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * @typedef {object } Phaser.Types.Loader.FileTypes.VideoFileConfig
3+ *
4+ * @property {(string|Phaser.Types.Loader.FileTypes.VideoFileConfig) } key - The key to use for this file, or a file configuration object.
5+ * @property {any } [urlConfig] - The absolute or relative URL to load this file from in a config object.
6+ * @property {string } [loadEvent] - The load event to listen for when _not_ loading as a blob. Either 'loadeddata', 'canplay' or 'canplaythrough'.
7+ * @property {boolean } [asBlob] - Load the video as a data blob, or via the Video element?
8+ * @property {boolean } [noAudio] - Does the video have an audio track? If not you can enable auto-playing on it.
9+ * @property {Phaser.Types.Loader.XHRSettingsObject } [xhrSettings] - Extra XHR Settings specifically for this file.
10+ */
You can’t perform that action at this time.
0 commit comments