-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
camel.html
51 lines (38 loc) Β· 1.14 KB
/
camel.html
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
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>camel-pose</title>
</head>
<style>
*{
background-color: white;
}
@media only screen and (max-width: 440px) {
video.i{
width: 110%;
}
video.j{
width: 20%;
}
}
</style>
<body>
<div align="center">
<video src="images/camel.mp4" width="50%" height="12%" autoplay="autoplay" muted="true" loop="true" class="i"></video>
<br>
<button onclick="pausev()" style="border: none; border-radius:55%; background-color: white; margin-right: 20px;"><img src="images/pause.jpg" width="50px" height="50px" ></button>
<video class="j" src="images/30s.mp4" id="clock" width="5%" height="2%" autoplay="true" muted="true" style="border-radius: 55%;"></video>
<button onclick="document.location='mountain(intermediate).html'" style="border: none; border-radius:55%; background-color: white; margin-left: 20px;"><img src="images/next.jpg" width="50px" height="50px" ></button>
</div>
<script>
var v = document.getElementById("clock");
function pausev(){
if(v.paused)
v.play();
else
v.pause();
}
</script>
</body>
</html>