-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlive4-restream.html
427 lines (390 loc) · 18.6 KB
/
live4-restream.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
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>LIVE4 Terms</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1">
<meta author="VideoGorillas LLC">
<meta apple-itunes-app="app-id=919921242">
<link rel="stylesheet" media="screen" href="css/normalize.css">
<link rel="stylesheet" media="screen" href="css/foundation.min.css">
<link rel="stylesheet" media="screen" href="css/live4.css">
<link rel="stylesheet" media="screen" href="css/live4restream.css">
<link size="64x64" rel="shortcut icon" href="img/icons/favicon.ico">
<link rel="stylesheet" type="text/css" href="fonts/foundation-icons.css">
<script src="libraries/jquery-3.3.1.min.js"></script>
<script async="" src="//www.google-analytics.com/analytics.js"></script>
</head>
<body class="is-responsive" cz-shortcut-listen="true">
<div id="chooseStore">
<h5>Choose store</h5>
<span class="close-alert">✖</span>
<div class="row collapse align-center alert-buttons">
<div class="small-4 app__googleplay">
<a class="google-play-store"
href="https://play.google.com/store/apps/details?id=com.vg.goprolive&referrer=utm_source%3Dlive4_web%26utm_medium%3Dlive4io_banner%26utm_term%3Dcampaign1%26utm_content%3Dmain_page_link%26utm_campaign%3Dshort_howto"
target="_blank">
<img src="img/buy/1280px-Google_play.png">
</a>
</div>
<div class="small-1 blank-space"></div>
<div class="small-4 app_appstore">
<a href="https://itunes.apple.com/ua/app/live4/id919921242" target="_blank">
<img src="img/buy/1000px-App_Store_Badge.png">
</a>
</div>
</div>
</div>
<div class="header">
<nav class="row">
<div class="small-2 column">
<a href="/index" class="header__logo">
<img src="img/logo.svg" id="live4logo"></a></div>
<section id="navs" class="small-6 column"></section>
<div class="small-4 column store-btns">
<a href="https://play.google.com/store/apps/details?id=com.vg.goprolive&referrer=utm_source%3Dlive4_web%26utm_medium%3Dlive4io_banner%26utm_term%3Dcampaign1%26utm_content%3Dterms_link%26utm_campaign%3Dshort_howto"
class="google_play_btn"
target="_blank">
<img src="img/buy/google_play_btn_blue.svg" class="img-responsive"></a>
<a href="https://itunes.apple.com/ua/app/live4/id919921242" class="app_store_btn" target="_blank">
<img src="img/buy/app_store_btn_blue.svg" class="img-responsive">
</a>
</div>
</nav>
</div>
<div class="main-container">
<div id="container1">
<div class="row align-middle">
<div class="medium-6 column get-started">
<h2>Live stream from your GoPro today!</h2>
<h5>Go live on YouTube, Facebook, Twitter, and 30+ platforms from any GoPro device.</h5>
<a href="#container2" class="learn-more-button">Learn more</a>
</div>
<div class="medium-6 column"></div>
</div>
</div>
<div id="container2">
<div class="row align-center">
<div class="short-video-description">
<h1>LIVE4 – your app for GoPro streaming</h1>
<div class="row">
<div class="column small-4 text-center">
<div class="choice-image"><img src="img/svg/icon-001-gopro.svg"></div>
<div class="choice-text">Supports any (almost) GoPro available on the market. Check the list
in
FAQ.
</div>
</div>
<div class="column small-4 text-center">
<div class="choice-image"><img src="img/svg/icon-002-connection.svg"></div>
<div class="choice-text">No frame drops. Even if you have a bad connection.</div>
</div>
<div class="column small-4 text-center">
<div class="choice-image"><img src="img/svg/icon-003-live.svg"></div>
<div class="choice-text">The best setup process. Starting a stream is just a click away.
</div>
</div>
</div>
</div>
</div>
</div>
<div id="container3" class="row">
<div class="platforms-integrated">
<div class="row align-middle">
<div class="column small-6">
<h3>Restream — your favorite platforms inside</h3>
<div>Easily stream to multiple platforms at once from your favorite GoPro device.</div>
</div>
<div class="column small-6">
<img src="img/svg/scheme-live42x.png">
</div>
</div>
</div>
</div>
<div id="container4">
<div class="how-it-works">
<div class="row">
<div class="column small-6">
<div class="iframe-container">
<iframe id="youtubeiframe" class="t-iframe loaded" width="100%" height="100%"
data-original="//www.youtube.com/embed/15MYEwLjv6g?rel=0&fmt=18&html5=1&showinfo=0&loop=1&playlist=15MYEwLjv6g&mute=1"
frameborder="0" allowfullscreen="" data-flag-inst="lazy"
src="//www.youtube.com/embed/15MYEwLjv6g?rel=0&fmt=18&html5=1&showinfo=0&loop=1&playlist=15MYEwLjv6g&mute=1"></iframe>
</div>
</div>
<div class="column small-6 align-middle">
<h2>How it works</h2>
<div>
<div class="li-item">
<div class="li-num">1</div>
<div>Install LIVE4 app. Available for <a
href="https://itunes.apple.com/ua/app/live4/id919921242" target="_blank">iOS</a>
and
<a href="https://play.google.com/store/apps/details?id=com.vg.goprolive&referrer=utm_source%3Dlive4_web%26utm_medium%3Dlive4io_banner%26utm_term%3Dcampaign1%26utm_content%3Dmain_page_link%26utm_campaign%3Dshort_howto"
target="_blank">Android</a>
</div>
</div>
<div class="li-item"><div class="li-num">2</div><div><b>Log in with Restream account.</b> Setup your favorite channels: Facebook, YouTube,
Twitter, you name it!</div>
</div>
<div class="li-item"><div class="li-num">3</div><div><b>Connect your GoPro.</b> Devices starting from Hero 3 will work.</div></div>
<div class="li-item"><div class="li-num">4</div><div><b>Go live!</b> Watch your followers' comments from all channels while streaming.</div></div>
</div>
</div>
</div>
</div>
</div>
<div id="container5">
<div class="row align-middle">
<div class="column middle-6">
<h2>Restream x LIVE4</h2>
<div>Get the exclusive <b>20% off</b> for both Restream and LIVE4 deal today. Live stream without
limits.
</div>
</div>
<div class="column middle-6">
<div class="exclusive-offer">
<img src="img/svg/restream-logo-white.svg">
<div class="exclusive-offer-text">Easily stream to multiple platforms at once from your favorite
GoPro device with a powerful set of Restream features.
— Stream to 30+ platforms
— Monitor stream quality
</div>
<a class="exclusive-offer-button"
href="https://restream.io/plans/pricing/?promoCode=RE-LIVE4-GOPRO20" target="_blank">Get 20%
off</a>
<div class="exclusive-offer-img">
<img src="img/surfer-2.png">
<img src="img/surfer-2-w.png">
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="row">
<div class="small-12 column">
<p>© VideoGorillas LLC, 2013-2019
<span><a href="/policy">Privacy & Terms</a></span></p>
<p>Designed for use with GOPRO® products. GOPRO® is a registered trademarks of Woodman Labs, Inc. in the
United States and other countries. Patents pending.</p></div>
</div>
</div>
</div>
<div id="live4SubIFrame"></div>
<script>(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-55300163-1', 'auto');
ga('send', 'pageview');
</script>
<script>
$('i.fi-info').on('click', function (e) {
$(this).next('div').toggle()
});
$('.info-popup input:checkbox').change(
function () {
var submitButton = $(this).parent().prev('div').find('a');
if ($(this).is(':checked')) {
submitButton.removeAttr('disabled')
} else {
submitButton.attr('disabled', true)
}
});
var $fusionForm = $('form#fusionForm');
$('#submitFusionForm').on('click', function (e) {
e.preventDefault();
if ($('#fusionForm input').val()) {
var ffrm = $.ajax({
url: 'https://script.google.com/macros/s/AKfycbxgxeFU48MYWxjvamIcW39SZ6Y-CEFaRfFeEouEQAFzz29kR7A/exec',
method: "GET",
dataType: "json",
data: $fusionForm.serializeArray()
}).done(
$(this).text('Done').attr('disabled', 'true').off('click'),
$fusionForm.parent().addClass('hide-smooth'),
setTimeout(function () {
$fusionForm.parent().removeAttr('style').removeClass('hide-smooth')
}, 2000),
);
}
});
var $youtubeForm = $('form#youtubeForm');
$('#submitYoutubeForm').on('click', function (e) {
e.preventDefault();
if ($('#youtubeForm input').val()) {
var yfrm = $.ajax({
url: 'https://script.google.com/macros/s/AKfycbwCKY4XPACXAUbqUTVN69sgYw5Nk2VFQigKZ2v_TAttkwuqXjQC/exec',
method: "GET",
dataType: "json",
data: $youtubeForm.serializeArray()
}).done(
$(this).text('Done').attr('disabled', 'true').off('click'),
$youtubeForm.parent().addClass('hide-smooth'),
setTimeout(function () {
$youtubeForm.parent().removeAttr('style').removeClass('hide-smooth')
}, 2000),
);
}
});
var $igForm = $('form#igForm');
$('#submitIgForm').on('click', function (e) {
e.preventDefault();
if ($('#igForm input').val()) {
var igfrm = $.ajax({
url: 'https://script.google.com/macros/s/AKfycbxyEOu-58zTE2CDkxwYiIeIlqEY2iCdckGoh3IlF1Eq4zMOCgU/exec',
method: "GET",
dataType: "json",
data: $igForm.serializeArray()
}).done(
$(this).text('Done').attr('disabled', 'true').off('click'),
$igForm.parent().addClass('hide-smooth'),
setTimeout(function () {
$igForm.parent().removeAttr('style').removeClass('hide-smooth')
}, 2000),
);
}
});
var $otherForm = $('form#otherForm');
$('#submitOtherForm').on('click', function (e) {
e.preventDefault();
if ($('#otherForm input').val()) {
var ofrm = $.ajax({
url: 'https://script.google.com/macros/s/AKfycbxmbYFvgRLHD0bef6p5QODbi144eJI-asT2LH2XaQSI8j1oi-E/exec',
method: "GET",
dataType: "json",
data: $otherForm.serializeArray()
}).done(
$(this).text('Done').attr('disabled', 'true').off('click'),
$otherForm.parent().addClass('hide-smooth'),
setTimeout(function () {
$otherForm.parent().removeAttr('style').removeClass('hide-smooth')
}, 2000),
);
}
});
var $tagFriendForm = $('form#tagFriendForm');
$('#submitTagFriendForm').on('click', function (e) {
e.preventDefault();
if ($('#tagFriendForm input').val()) {
var tffrm = $.ajax({
url: 'https://script.google.com/macros/s/AKfycbz2plAZ2YNA5UTZV4DOr_Ep1-bSVEe7kJKR3NdRKrNPEXrUPlm2/exec',
method: "GET",
dataType: "json",
data: $tagFriendForm.serializeArray()
}).done(
$(this).text('Done').attr('disabled', 'true').off('click'),
$tagFriendForm.parent().addClass('hide-smooth'),
setTimeout(function () {
$tagFriendForm.parent().removeAttr('style').removeClass('hide-smooth')
}, 2000),
);
}
});
var $eventPageForm = $('form#eventPageForm');
$('#submitEventPageForm').on('click', function (e) {
e.preventDefault();
if ($('#eventPageForm input').val()) {
var epfrm = $.ajax({
url: 'https://script.google.com/macros/s/AKfycbxg0_z378tGwi9mVuBGesIHtNTlmk6a43c4AECl-3rfoCkk2T2w/exec',
method: "GET",
dataType: "json",
data: $eventPageForm.serializeArray()
}).done(
$(this).text('Done').attr('disabled', 'true').off('click'),
$eventPageForm.parent().addClass('hide-smooth'),
setTimeout(function () {
$eventPageForm.parent().removeAttr('style').removeClass('hide-smooth')
}, 2000),
);
}
});
</script>
<script>
let iframeContainer = document.getElementById("live4SubIFrame");
var isMobile = () => {
var userAgent = navigator.userAgent.toLowerCase();
var isAndroid = userAgent.indexOf("android") > -1;
var isIOs = navigator.userAgent.match(/iPhone|iPad/i);
return !!(isAndroid || isIOs);
};
if (isMobile()) {
showSubscriptionForm = () => {
document.querySelector("#live4SubIFrame").setAttribute("style", "top:32%; height:154px");
iframeContainer.innerHTML = "<div id=\"closeIFrameBtn\">✕</div><iframe src=\"https://goo.gl/forms/qjImSf6UsHEBxmrm2\" onload='onLoadIFrameListener()' width=\"640\" height=\"300\" frameborder=\"0\">Loading...</iframe><div id=\"closeForm\">Close</div>";
};
} else {
showSubscriptionForm = () => {
iframeContainer.innerHTML = "<div id=\"closeIFrameBtn\">✕</div><iframe src=\"https://goo.gl/forms/qjImSf6UsHEBxmrm2\" onload='onLoadIFrameListener()' width=\"640\" height=\"600\" frameborder=\"0\">Loading...</iframe><div id=\"closeForm\">Close</div>";
};
}
onLoadIFrameListener = () => {
let closeIFrameBtn = iframeContainer.querySelector("#closeIFrameBtn");
let closeForm = iframeContainer.querySelector("#closeForm");
closeIFrameBtn.onclick = () => {
iframeContainer.innerHTML = "";
};
closeForm.onclick = () => {
iframeContainer.innerHTML = "";
}
}
</script>
<script type="text/javascript">
var playStoreUrl = "https://play.google.com/store/apps/details?id=com.vg.goprolive&referrer=utm_source%3Dlive4_web%26utm_medium%3Dlive4io_banner%26utm_term%3Dcampaign1%26utm_content%3Dterms_link%26utm_campaign%3Dshort_howto";
var appStoreUrl = "https://itunes.apple.com/ua/app/live4/id919921242";
var userAgent = navigator.userAgent.toLowerCase();
var isAndroid = userAgent.indexOf("android") > -1;
var isIOs = navigator.userAgent.match(/iPhone|iPad/i);
var tryItButtons = document.querySelectorAll(".purchase-button-tryit");
var chooseStoreAlert = document.querySelector("#chooseStore");
var closeAlert = document.querySelector(".close-alert");
$(document).mouseup(function (e) {
var alertContainer = $("#chooseStore");
if (!alertContainer.is(e.target) && alertContainer.has(e.target).length === 0) {
alertContainer.hide();
}
});
let openStore = (applicationStoreUrl) => {
if (tryItButtons != null) {
tryItButtons.forEach(btn => {
btn.addEventListener("click", () => {
if (applicationStoreUrl === "") {
chooseStoreAlert.setAttribute("style", "display:block")
} else {
window.open(applicationStoreUrl, '_blank')
}
})
});
}
};
closeAlert.addEventListener('click', () => {
chooseStoreAlert.setAttribute("style", "display:none")
});
if (isAndroid) {
document.querySelector(".app_appstore").style.display = "none";
document.querySelector(".app_store_btn").style.display = "none";
document.querySelector(".blank-space").style.display = "none";
openStore(playStoreUrl)
} else if (isIOs) {
document.querySelector(".google_play_btn").style.display = "none";
document.querySelector(".app__googleplay").style.display = "none";
document.querySelector(".blank-space").style.display = "none";
openStore(appStoreUrl)
} else {
openStore("")
}
if (isAndroid || isIOs) {
let iframeContainer = document.getElementById("live4SubIFrame");
iframeContainer.setAttribute("style", "top:21% !important; height:154px !important")
}
</script>
</body>
</html>