-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
86 lines (83 loc) · 1.68 KB
/
main.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<html>
<head>
<title>Screen Recorder</title>
<style>
body {
padding: 20px;
}
body {
font-size: 16px;
font-family: "Arial", sans-serif;
color: #333;
}
h1,
h2,
h3 {
font-family: "Georgia", serif;
color: #222;
}
h1 {
font-size: 32px;
margin: 20px 0;
}
h2 {
font-size: 24px;
margin: 20px 0;
}
h3 {
font-size: 18px;
margin: 20px 0;
}
button {
border: none;
background-color: #0366d6;
color: #fff;
padding: 10px 20px;
font-size: 14px;
margin: 2px;
cursor: pointer;
border: #000;
border-style: solid;
border-width: 2px;
border-radius: 15px;
flex: 1;
}
button:disabled{
opacity: .5;
}
button:hover {
background-color: #0353c9;
}
video {
height: 70%;
width: 70%;
border: 1px solid #333;
position: relative;
}
.resize-handle {
width: 20px;
height: 20px;
background-color: #ccc;
position: absolute;
right: 0;
bottom: 0;
cursor: se-resize;
}
.resize-handle:hover {
background-color: #bbb;
}
</style>
</head>
<body>
<h1>Screen Recorder</h1>
<video autoplay></video>
<div>
<button id="start-button">Start recording</button>
<button id="stop-button" disabled>Stop recording</button>
</button>
</div>
<div id="duration">Press Start Recording To record
</div>
<script src="script.js"></script>
</body>
</html>