-
Notifications
You must be signed in to change notification settings - Fork 0
/
preview.html
161 lines (137 loc) · 3.37 KB
/
preview.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<style>
* {
-webkit-user-select: none;
-user-select: none;
-webkit-user-drag: none;
-user-drag: none;
}
@font-face {
font-family: 'Custom_Font';
src: local('.SFNSText-Light'),
local('.HelveticaNeueDeskInterface-Light'),
local('.LucidaGrandeUI'),
local('Ubuntu Light'),
local('Segoe UI Light'),
local('Roboto-Light'),
local('DroidSans'),
local('Tahoma');
}
input {
-webkit-user-select:initial;
}
* {
margin: 0;
padding: 0;
}
html, body {
background-color: #F3F3F3;
font-family: Custom_Font!important;
font-size: 1em;
overflow: hidden;
overflow-x: hidden;
}
video {
border-left: 1px dotted red;
border-right: 1px dotted red;
}
header {
position: absolute;
background: white;
height: 60px;
font-size: 30px;
text-align: center;
padding: 10px 20px;
z-index: 99;
left: 0;
right: 0;
top: 0;
border-bottom: 1px dotted red;
overflow: hidden;
}
#btn-upload, #btn-recordings-list {
float: right;
height: 48px;
margin-top: 5px;
cursor: pointer;
}
#btn-upload {
height: 42px;
margin-top: 10px;
}
#btn-upload-dropdown, #btn-recordings-list-dropdown {
display: none;
position: absolute;
top: 80px;
cursor: pointer;
right: 27px;
background: white;
border-left: 1px dotted red;
border-right: 1px dotted red;
text-align: left;
font-size: 18px;
z-index: 9;
}
.visible {
display: block!important;
}
#btn-upload-dropdown div, #btn-recordings-list-dropdown div {
padding: 5px 10px;
border-bottom: 1px dotted red;
}
#btn-upload-dropdown div:hover, #btn-recordings-list-dropdown div:hover {
background: #F3F3F3;
}
.btn-upload-dropdown-selected {
background: #dad6d6!important;
}
#btn-recordings-list {
float: left;
}
#btn-recordings-list-dropdown {
left: 27px;
right: auto;
max-height: 40%;
overflow: auto;
}
.cross-icon, .edit-icon {
float: right;
width: 22px;
margin-left: 20px;
cursor: pointer;
}
.cross-icon {
margin-left: 15px;
}
#browser-cache .cross-icon {
float: none;
vertical-align: middle;
margin: 0;
width: 15px;
}
</style>
<title>RecordRTC Extension</title>
<link rel="manifest" href="manifest.json">
<header>
<img id="btn-recordings-list" src="images/list-icon.png" title="List Of Recordings">
<img id="btn-upload" src="images/upload-icon.png" title="Upload">
<p style="position: absolute;right: 10%;">
<span style="font-size: .6em; margin-left: 20px;" id="file-size" title="Size"></span>
<span style="font-size: .6em; margin-left: 20px;" id="file-resolutions" title="Resolutions"></span>
<span style="font-size: .6em; margin-left: 20px;" id="file-duration" title="Duration"></span>
</p>
<p>
<span id="file-name" title="Recording Name"></span>
</p>
<span id="browser-cache" style="font-size: 17px"></span>
</header>
<div id="btn-upload-dropdown">
<div id="btn-php-upload">Upload to <span style="color: red;">Private Server</span></div>
<div id="btn-youtube-upload">Upload to <span style="color: red;">YouTube</span></div>
</div>
<div id="btn-recordings-list-dropdown"></div>
<section style="text-align: center;">
<video controls disable-contextmenu cf-video-load="file"></video>
</section>
<script src="DiskStorage.js"></script>
<script src="background.common.js"></script>
<script src="preview.js"></script>