load
Summary
Register a music track under a unique key.Signature
Parameters
music
Type:string
Unique key used to reference this track (e.g. “theme”).
file
Type:string
URL or path to the audio file.
Returns
Type:void
Register a music track under a unique key.
Remarks
Creates anHTMLAudioElement from the provided URL. The track respects the current muted state at load time.