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 22 * @typedef {object } Phaser.Types.Loader.FileTypes.AudioFileConfig
33 *
44 * @property {string } key - The key of the file. Must be unique within the Loader and Audio Cache.
5- * @property {string } [urlConfig ] - The absolute or relative URL to load the file from.
5+ * @property {( string|string[]) } [url ] - The absolute or relative URLs to load the audio files from.
66 * @property {Phaser.Types.Loader.XHRSettingsObject } [xhrSettings] - Extra XHR Settings specifically for this file.
7- * @property {AudioContext } [audioContext ] - The AudioContext this file will use to process itself.
7+ * @property {AudioContext } [context ] - The optional AudioContext this file will use to process itself.
88 */
Original file line number Diff line number Diff line change 22 * @typedef {object } Phaser.Types.Loader.FileTypes.VideoFileConfig
33 *
44 * @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 .
5+ * @property {(string|string[]) } [url ] - The absolute or relative URLs to load the video files from .
66 * @property {string } [loadEvent] - The load event to listen for when _not_ loading as a blob. Either 'loadeddata', 'canplay' or 'canplaythrough'.
77 * @property {boolean } [asBlob] - Load the video as a data blob, or via the Video element?
88 * @property {boolean } [noAudio] - Does the video have an audio track? If not you can enable auto-playing on it.
You can’t perform that action at this time.
0 commit comments