Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- </head>
- <script>
- function Func1()
- {
- document.getElementById('audio').play();
- }
- function Func1Delay()
- {
- setTimeout("Func1()", 8000);
- }
- </script>
- <body onload="Func1Delay()">
- <audio controls="controls" id="audio">
- <source src="http://localhost/game/splash.mp3" type="audio/mp3" />
- </audio>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement