Playing music

Theoretikos
I 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?

Dennis Carlyle
If 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

This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums