/
index.html
73 lines (59 loc) · 3.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Confused John Travolta gif</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="css/gif-project.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Seriously.js libraries -->
<script src="libraries/seriously.js"></script>
<script src="libraries/seriously.chroma.js"></script>
</head>
<body>
<a href="https://github.com/nikmaniatis/greenscreen-gif"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
<div class="container">
<div class="gif-template">
<h1>Green Screen Gif Generator</h1>
<p class="lead">A demo project using the <a href="http://seriouslyjs.org/">Seriously.js</a> library to create a "Confused John Travolta" gif generator.<br> Add the url link of your image and let Travolta wondering in your favourite place!</p>
<p>Add the url address of your image here: <input id="addimg"></p>
<p><small>You don't have a link? Copy - Paste this: <strong>https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Athens_Plaka07.jpg/480px-Athens_Plaka07.jpg</strong></small></p>
</div><!-- /.container -->
<div class="container">
<div class="gifs">
<!-- page content goes here -->
<!-- /*source video variable goes here*/ -->
<video class="video-js" autoplay loop id="gif">
<source src="img/greenscreen.mp4" type="video/mp4" />
</video>
<canvas id="canvas" width="446" height="360">
</canvas>
</div>
</div>
</br>
<div class="container">
<!-- <div class="input">
<p>Add the url address of your image here: <input id="addimg">
</div> -->
</div>
<footer class="footer">
<div class="container">
<p><small>Developed by<a href="https://twitter.com/n_maniatis" target="_blank"> @n_maniatis</a>. Code licensed MIT</small></p>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script language="javascript" type="text/javascript" src="app.js"></script>
</body>
</html>