-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecord.html
42 lines (36 loc) · 1.49 KB
/
record.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
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="record.css">
<title>Record New Puzzle</title>
<link rel="stylesheet" href="//assets.ziggeo.com/css/ziggeo-betajs-player.min.css" />
<script src="//assets.ziggeo.com/js/ziggeo-jquery-json2-betajs-player.min.js"></script>
<script>ZiggeoApi.token = "3ed818d9203c4a5b815fb691d8d0a311";</script>
<style>
html {
min-height: 100%;
}
body {
background: url("bg.png") repeat-x left bottom;
}
#title {
text-align: center;
color: white;
font-size: 250%;
background: #70a8e7;
font-family: "Arial Black", Gadget, sans-serif;
}
</style>
</head>
<body>
<h1 class="center" id="title">Record a new puzzle:</h1>
<ziggeo class="center" id="rec" ziggeo-width=700 ziggeo-height=700 ziggeo-limit=5></ziggeo>
<script type="text/javascript">
ZiggeoApi.Events.on("submitted", function(data) {
window.location.href = "process.php?t=" + data.video.token + "&vt=" + data.video.default_stream.token;
document.getElementById("title").innerHTML = "Creating puzzle...please wait.";
document.getElementById("rec").style.display = "none";
});
</script>
</body>
</html>