"Audio": Harlowe (v2.0)#
Audio elements rely on sources either absolutely or relatively located. An absolute reference starts with HTTP or another protocol; a relative reference describes the location of the resource in relation to the webpage. Because audio files are external resources, they must also be accessed from a remote service, file hosting location, or stored separately with the webpage.
Due to browser differences in licensing, some audio formats are not universally supported. For best results in using audio in Twine, it is recommended to use multiple formats, allowing the browser to choose which one is best supported when first loaded.
:: StoryTitle Audio in Harlowe :: Start <audio controls> <source src="testpattern.ogg" type="audio/ogg"> <source src="testpattern.wav" type="audio/wav"> Your browser does not support the audio element. </audio>