Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var secondsUntilItGoesOff = 300;
- setTimeout(
- function() {
- var sound = new Audio('https://s3-ap-northeast-1.amazonaws.com/office-prank/lol.mp3');
- sound.loop = true;
- sound.play();
- },
- secondsUntilItGoesOff * 1000
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement