-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathvideo-demo.html
195 lines (173 loc) · 6.09 KB
/
video-demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>Doomout</title>
<meta name="title" content="Doomout">
<meta name="author" content="@ijazulrehman">
<meta property="og:type" content="website">
<meta property="og:url" content="https://doomout.com/">
<meta property="og:title" content="Doomout">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://doomout.com/">
<meta property="twitter:title" content="Doomout">
<link href="images/thumbnail.jpg" rel="apple-touch-icon">
<link href="images/favicon.ico" rel="shortcut icon">
<link href="css/styles.css" rel="stylesheet">
</head>
<body>
<div class="modal">
<button type="button" class="modal-close modal-toggle"><i class="icon" data-feather="x"></i><span class="hide-mobile">ESC</span></button>
<div class="modal-content">
<div class="success">
<a href="index.html" class="logo"><img src="images/logodo.png" alt="logo"/></a>
<!-- <a href="index.html" >
<div class="flip-container">
<div class="flipper">
<div class="front"></div>
<div class="back"></div>
</div>
</div>
</a> -->
<h2 class="modal-title first-name" id="title-name"></h2>
<p>You're on the list! We'll be in touch.</p>
<a href="index.html" class="button">Back home</a>
</div>
<div class="form-content">
<a href="index.html" class="logo"><img src="images/logodo.png" alt="logo"/></a>
<!-- <a href="index.html" >
<div class="flip-container">
<div class="flipper">
<div class="front"></div>
<div class="back"></div>
</div>
</div>
</a> -->
<h2 class="modal-title">Join the Doomout Waitlist</h2>
<p class="modal-subtitle">We're still in early stages, and we'll let you know once we're ready for more beta testers.</p>
<form class='form' name='doomoutForm' method='POST'><input type='hidden' name='form-name' value='doomoutForm' />
<div class="group">
<input type="text" id="firstName" name="first-name" placeholder=" " autocomplete="off" required>
<label for="first-name">First name</label>
<span class="border"></span>
</div>
<div class="group">
<input type="email" name="email" placeholder=" " autocomplete="off" required>
<label for="email">Email</label>
<span class="border"></span>
</div>
<button type="submit" class="button">Join the waitlist</button>
</form>
</div>
</div>
</div>
<div class="content">
<a href="index.html" class="logo"><img src="images/logodo.png" alt="logo"/></a>
<div class="hero">
<h1 class="title">Explore</h1>
<h1 class="title shift clip">
<span class="word-shift">
<b class="is-visible">Innovation </b>
<b>Creativity</b>
<b>Technology</b>
</span>
</h1>
<button class="button modal-toggle">Join the waitlist</button>
<!-- <p class="subtitle">Available soon for Mac <img src="images/logo-apple.svg" alt="apple"/></p> -->
</div>
<div class="screen-wrapper">
<!-- <img src="images/screen.png" class="screen" alt="screen"/> -->
<div class="outerVideoWrapper2">
<div class="videoWrapper video">
<!-- Copy & Pasted from YouTube -->
<div class="videoPadding">
<iframe width="560" height="315" src="https://www.youtube.com/embed/b-jHGR1qV-0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
<footer class="footer">
<p>© Doomout</p>
</footer>
</div>
</div>
<!-- <script src="./js/jquery/3.4.1/jquery.min.js"></script> -->
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="js/scripts.min.js"></script>
<script>
// Close modal on escape key
$(document).keyup(function(e) {
if (e.key === "Escape") {
$('.modal').removeClass('modal-show');
$('.content').removeClass('content-blurred');
$('body').removeClass('no-scroll');
}
});
$(function(){
// Provider card slider
$('.slider').flickity({
pauseAutoPlayOnHover: false,
prevNextButtons: false,
cellAlign: 'center',
draggable: false,
freeScroll: false,
wrapAround: true,
pageDots: false,
autoPlay: 3000,
});
// Imbox zero slider
$('.zero-slider').flickity({
pauseAutoPlayOnHover: false,
prevNextButtons: false,
cellAlign: 'center',
freeScroll: false,
wrapAround: false,
draggable: false,
pageDots: false,
autoPlay: 3000,
fade: true,
});
// Open & close modal
$('.modal-toggle').click(function(){
$('.modal').toggleClass('modal-show');
$('.content').toggleClass('content-blurred');
$('body').toggleClass('no-scroll');
});
// Reserve username form
$(".form").submit(function(e) {
e.preventDefault();
var $form = $(this);
$.post($form.attr("action"), $form.serialize()).then(function() {
$('.form-content').addClass('form-content-hide');
$('.success').addClass('success-show');
});
});
// Save user's first name
$(".form").submit(function(e) {
e.preventDefault();
var firstName = $("#firstName").val();
var email = $("#email").val();
const someObject = {
name: firstName,
email: email
}
$('.first-name').text("Thank you," + " " + value + "!");
});
// Feather icons
feather.replace()
// ScrollReveal
ScrollReveal().reveal('.hero, .title, .video, .screen, .features, .cards, .zero-slider', {
distance: '40px',
duration: 2000,
mobile: false,
reset: false,
opacity: 0
});
});
</script>
</body>
</html>