-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (79 loc) · 3.51 KB
/
index.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Vidiio - Video Collaborate in Real Time</title>
<link rel = "stylesheet" type = "text/css" href = "1140.css"/>
<link rel = "stylesheet" type = "text/css" href = "styles.css"/>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
</head>
<body class = "sourcesans">
<div id="splash">
<div class="container12 blockingcontainter panel1">
<img src="images/logo.png" id="logo">
<h1 class = "sourcesans" id="home">Experience real time video collaboration.</h1>
<form action="" method="POST">
<div class="row">
<div class="column4">
<input type="text" class="large-fld" name="user" id="user" value="" placeholder="Username" maxlength="10">
</div>
<div class="column5">
<input type="text" class="large-fld" name="room" id="room" value="" placeholder="Channel Name" maxlength="10">
</div>
<div class="column3">
<button type="button" id="submit" class="large-btn large-magnify">Get Started!</a></button>
</div>
</div>
</form>
</div>
</div>
<section style="padding-bottom: 0px;">
<h2>A simple way to collaborate and connect.</h2>
<h3>Create new channels to collaborate on with friends, coworkers, or students.</h3>
<div id="browserwrap">
<img src="images/browser1.png">
<img src="images/browser2.png" style="margin-left:45px;">
</div>
</section>
<section>
<h2>Share, sync, and annotate in real-time.</h2>
<h3>Mark up videos and images and chat on a synchronized, <a href="http://www.pubnub.com/">PUBNUB</a>-powered platform.</h3>
<img src="images/browser3.png" style="width: 500px;margin: 0 auto;display: block;margin-top: 100px;">
</section>
<footer>
<p>♥ Made with love at <a href="http://hackgeny.com/" target="_blank">Hacking Generation Y</a> 2015.</p>
</footer>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
if(typeof(Storage) !== "undefined") {
$('#submit').click(function() {
var user = $('#user').val().trim();
var room = $('#room').val().trim();
if ( user.length > 10 || room.length > 10 ) {
alert('Maximum length for Username and Room fields is 10. Please re-enter.');
}
else if ( /[^a-zA-Z0-9]/.test( user ) || /[^a-zA-Z0-9]/.test( room ) ) {
alert('Only alphanumeric characters may be used. Please re-enter.');
}
else if ( user == '' || room == '' ) {
alert('Please fill out all fields.');
}
else {
sessionStorage.user = user;
sessionStorage.room = room;
window.location = 'http://vidiio.github.io/portal.html';
}
});
} else {
alert("Sorry, your browser does not support web storage...");
}
</script>
</body>
</html>