Playing music
Theoretikos
12 May 2016, 22:47I want to automatically play some music when a new section is activated. A little like what happens in this adventure: http://textadventures.co.uk/games/view/ ... mbolocaust
What is the code to embed this sort of sound?
What is the code to embed this sort of sound?
Dennis Carlyle
13 May 2016, 14:01If you scroll down on this web page, you'll find "Examples" - showing a simple use of the HTML 5 'audio' element.
https://developer.mozilla.org/en/docs/W ... ment/audio
https://developer.mozilla.org/en/docs/W ... ment/audio