-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideos.html
408 lines (387 loc) · 19.3 KB
/
videos.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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Catalog-Z Videos</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="fontawesome/css/all.min.css">
<link rel="stylesheet" href="css/templatemo-style.css">
<!--
TemplateMo 556 Catalog-Z
https://templatemo.com/tm-556-catalog-z
-->
</head>
<body>
<!-- Page Loader -->
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<i class="fas fa-film mr-2"></i>
Catalog-Z
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link nav-link-1" href="index.html">Photos</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-2 active" aria-current="page" href="videos.html">Videos</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-3" href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-4" href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="tm-hero d-flex justify-content-center align-items-center" id="tm-video-container">
<video autoplay muted loop id="tm-video">
<source src="video/hero.mp4" type="video/mp4">
</video>
<i id="tm-video-control-button" class="fas fa-pause"></i>
<form class="d-flex position-absolute tm-search-form">
<input class="form-control tm-search-input" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success tm-search-btn" type="submit">
<i class="fas fa-search"></i>
</button>
</form>
</div>
<div class="container-fluid tm-container-content tm-mt-60">
<div class="row mb-4">
<h2 class="col-6 tm-text-primary">
Latest Videos
</h2>
<div class="col-6 d-flex justify-content-end align-items-center">
<form action="" class="tm-text-primary">
Page <input type="text" value="1" size="1" class="tm-input-paging tm-text-primary"> of 180
</form>
</div>
</div>
<div class="row tm-mb-90 tm-gallery">
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-01.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Hangers</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>24 Oct 2020</span>
<span>10,460 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-02.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Perfumes</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>22 Oct 2020</span>
<span>14,502 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-03.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Clocks</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>18 Oct 2020</span>
<span>11,906 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-04.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Plants</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>12 Oct 2020</span>
<span>16,100 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-05.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Morning</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>24 Sep 2020</span>
<span>16,008 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-06.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Pinky</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>21 Sep 2020</span>
<span>12,860 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-07.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Bus</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>18 Sep 2020</span>
<span>10,900 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-08.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>New York</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>14 Sep 2020</span>
<span>10,820 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-09.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Abstract</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>12 Sep 2020</span>
<span>42,700 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-10.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Flowers</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>9 Sep 2020</span>
<span>11,402 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-11.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Rosy</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>8 Sep 2020</span>
<span>32,906 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-12.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Rocki</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>6 Sep 2020</span>
<span>50,700 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-13.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Purple</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>28 Aug 2020</span>
<span>107,510 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-14.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Sea</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>24 Aug 2020</span>
<span>118,006 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-15.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Turtle</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>20 Aug 2020</span>
<span>121,300 views</span>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12 mb-5">
<figure class="effect-ming tm-video-item">
<img src="img/img-16.jpg" alt="Image" class="img-fluid">
<figcaption class="d-flex align-items-center justify-content-center">
<h2>Peace</h2>
<a href="video-detail.html">View more</a>
</figcaption>
</figure>
<div class="d-flex justify-content-between tm-text-gray">
<span>14 Aug 2020</span>
<span>21,204 views</span>
</div>
</div>
</div> <!-- row -->
<div class="row tm-mb-90">
<div class="col-12 d-flex justify-content-between align-items-center tm-paging-col">
<a href="javascript:void(0);" class="btn btn-primary tm-btn-prev mb-2 disabled">Previous</a>
<div class="tm-paging d-flex">
<a href="javascript:void(0);" class="active tm-paging-link">1</a>
<a href="javascript:void(0);" class="tm-paging-link">2</a>
<a href="javascript:void(0);" class="tm-paging-link">3</a>
<a href="javascript:void(0);" class="tm-paging-link">4</a>
</div>
<a href="javascript:void(0);" class="btn btn-primary tm-btn-next">Next Page</a>
</div>
</div>
</div> <!-- container-fluid, tm-container-content -->
<div class="tm-bg-gray pt-5 pb-3 tm-text-gray">
<div class="container-fluid tm-container-small">
<div class="row">
<div class="col-lg-6 col-md-12 col-12 px-5 mb-5">
<h3 class="tm-text-primary mb-4">About Catalog-Z</h3>
<p>Catalog-Z is free Bootstrap 5 Alpha 2 HTML Template for video and photo websites. You can freely use this TemplateMo layout for a front-end integration with any kind of CMS website.</p>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-12 px-5 mb-5">
<h3 class="tm-text-primary mb-4">Our Links</h3>
<ul class="tm-footer-links pl-0">
<li><a href="#">Advertise</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Our Company</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-12 px-5 mb-5">
<ul class="tm-social-links d-flex justify-content-end pl-0 mb-5">
<li class="mb-2"><a href="https://facebook.com"><i class="fab fa-facebook"></i></a></li>
<li class="mb-2"><a href="https://twitter.com"><i class="fab fa-twitter"></i></a></li>
<li class="mb-2"><a href="https://instagram.com"><i class="fab fa-instagram"></i></a></li>
<li class="mb-2"><a href="https://pinterest.com"><i class="fab fa-pinterest"></i></a></li>
</ul>
<a href="#" class="tm-text-gray text-right d-block mb-2">Terms of Use</a>
<a href="#" class="tm-text-gray text-right d-block">Privacy Policy</a>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-md-7 col-12 px-5 mb-3">
Copyright 2020 Catalog-Z Company. All rights reserved.
</div>
<div class="col-lg-4 col-md-5 col-12 px-5 text-right">
Designed by <a href="https://templatemo.com" class="tm-text-gray" rel="sponsored" target="_parent">TemplateMo</a>
</div>
</div>
</div>
</div>
<script src="js/plugins.js"></script>
<script>
$(window).on("load", function() {
$('body').addClass('loaded');
});
$(function(){
/************** Video background *********/
function setVideoSize() {
const vidWidth = 1280;
const vidHeight = 720;
const maxVidHeight = 400;
let windowWidth = window.innerWidth;
let newVidWidth = windowWidth;
let newVidHeight = windowWidth * vidHeight / vidWidth;
let marginLeft = 0;
let marginTop = 0;
if (newVidHeight < maxVidHeight) {
newVidHeight = maxVidHeight;
newVidWidth = newVidHeight * vidWidth / vidHeight;
}
if(newVidWidth > windowWidth) {
marginLeft = -((newVidWidth - windowWidth) / 2);
}
if(newVidHeight > maxVidHeight) {
marginTop = -((newVidHeight - $('#tm-video-container').height()) / 2);
}
const tmVideo = $('#tm-video');
tmVideo.css('width', newVidWidth);
tmVideo.css('height', newVidHeight);
tmVideo.css('margin-left', marginLeft);
tmVideo.css('margin-top', marginTop);
}
setVideoSize();
// Set video background size based on window size
let timeout;
window.onresize = function () {
clearTimeout(timeout);
timeout = setTimeout(setVideoSize, 100);
};
// Play/Pause button for video background
const btn = $("#tm-video-control-button");
btn.on("click", function (e) {
const video = document.getElementById("tm-video");
$(this).removeClass();
if (video.paused) {
video.play();
$(this).addClass("fas fa-pause");
} else {
video.pause();
$(this).addClass("fas fa-play");
}
});
});
</script>
</body>
</html>