-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
40 lines (38 loc) · 889 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
function cloudPlay() {
var cloud = document.getElementById("cloudPlay");
cloud.play();
}
function windPlay() {
console.log("wind");
var wind = document.getElementById("windPlay");
wind.play();
}
function everestPlay() {
console.log("everest");
var everest = document.getElementById("everestPlay");
everest.play();
}
function oceanPlay() {
console.log("ocean");
var ocean = document.getElementById("oceanPlay");
ocean.play();
}
function bricksPlay() {
console.log("Bricks falling");
var bricks = document.getElementById("bricksPlay");
bricks.play();
}
function waterfallPlay() {
console.log("Waterfall");
var waterfall = document.getElementById("waterfallPlay");
waterfall.play();
}
function beachPly() {
console.log("beach");
var beach = document.getElementById("beachPly");
beach.play();
}
//pause();
// function onPause() {
// x.pause();
// }