Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- embed {
- border:1px solid #000;
- }
- </style>
- <script>
- document.addEventListener("DOMContentLoaded", playIntro, false);
- function playIntro() {
- var embed = document.getElementById("GAME");
- var setto = embed.src;
- embed.src = 'Intro.mp4';
- GameNow(setto);
- }
- function GameNow(setto) {
- var embed = document.getElementById("GAME");
- setTimeout(function(){ embed.src = setto; }, 2000);
- }
- </script>
- </head>
- <body>
- <embed id="GAME" src="game.swf">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement