-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (55 loc) · 1.11 KB
/
index.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
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<title>Bad Apple js</title>
<style>
.badApple{
display: flex;
}
.videoContainer{
display: flex;
flex-direction: column;
margin-right: 10px
}
.videoContainer > button {
width: 150px;
height: 40px;
line-height: 40px;
text-align: center;
color: white;
border-radius: 8px;
border: solid 1px rgb(40, 40, 40);
background: rgb(40, 40, 40);
transition: 0.3s;
margin-top: 10px
}
.videoContainer > button:hover{
background: white;
color: rgb(40, 40, 40);
}
.row{
display: flex;
}
input{
margin:1px;
}
</style>
</head>
<body>
<div class="badApple">
<div class="videoContainer">
<canvas id="video" width="150px" height="112px" style="border: solid 1px"></canvas>
<button type="button" class="btn btn-dark" id="btn" onclick="btn_active()">Play</button>
<video id="videoBase" style="visibility: hidden">
<source src="Badapplesmall.mp4" type="video/mp4"/>
</video>
</div>
<div>
<div id="mainPlayer">
</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>