/
index-ajax.html
265 lines (226 loc) · 12.7 KB
/
index-ajax.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
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta http-equiv="expires" content="0">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>KeepVideos - Download YouTube Videos - The easy way - Without plugins and extensions</title>
<meta name="title" content="KeepVideos - Download YouTube Videos the easy way - Without plugins and extensions" />
<meta name="description" content="This is a learning tool for the new HTML5 technologies" />
<meta name="keywords" content="youtube, download, video, videos, download youtube, download youtube video, download video, download youtube file, html, css, html5, css3, canvas, animation, requestanimationframe, fullscreen, fullscreen api, cache, application cache, application cache api, appcache, audio, audio api, video, video api, modernizr" />
<meta name="author" content="Emerson Estrella">
<link type="text/plain" rel="author" href="humans.txt" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/style.css?asdf=1">
<script src="js/libs/modernizr.custom.01885.js"></script>
</head>
<body>
<a href="https://github.com/edse/keepvideos" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0; margin-top: 40px;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="./">KeepVideos</a>
<div class="nav-collapse">
<ul class="nav">
<li id="home" class="active"><a href="./">Home</a></li>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid bg">
<div class="row-fluid">
<div class="span3">
<div class="hidden-phone" style="text-align: center; margin-bottom: 20px">
<script type="text/javascript">
if(window.innerWidth > 480) {
//visible-tablet & desk
//Wide Skyscraper
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "7393764163";
google_ad_width = 160;
google_ad_height = 600;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
}
</script>
</div>
</div><!--/span-->
<div class="span9">
<div class="visible-desktop row-fluid show-grid">
<div class="span12" style="text-align: center; margin-bottom: 20px">
<script type="text/javascript">
if(window.innerWidth >= 980) {
//visible-desktop
/* New Leader */
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "5326073161";
google_ad_width = 728;
google_ad_height = 90;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
}
</script>
</div>
</div>
<div class="hidden-desktop2 row-fluid show-grid">
<div class="span12" style="text-align: center; margin-bottom: 20px">
<script type="text/javascript">
if(window.innerWidth < 980) {
//visible-tablet & phone
//Banner
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "6679550646";
google_ad_width = 468;
google_ad_height = 60;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
}
</script>
</div>
</div>
<a name="main"></a>
<div id="hero1" class="hero-unit" style="padding-bottom: 15px;">
<div id="promo" class="alert alert-block alert-message fade in span2" style="float: right">
<button class="close" data-dismiss="alert">×</button>
<h4 class="alert-heading">Check this out!</h4>
<p>HTML5 Video Puzzle. A game build on top of this same script.</p>
<p>
<a class="btn btn-small btn-info" href="http://html5videopuzzle.appspot.com"><i class="icon-info-sign icon-white"></i> HTML5 VIDEO PUZZLE</a>
</p>
</div>
<h1 class="brand">KeepVideos</h1>
<h2>Download YouTube Videos - Easy way - Without plugins or extensions</h2>
<form action="" method="post" id="form" class="well pane2" novalidate="novalidate" style="margin-top: 25px;">
<!--<div id="vid" style="display: none;"></div>-->
<h4>YouTube Video URL</h4>
<input type="text" class="input-medium" name="url" id="url" placeholder="YouTube Video URL like: www.youtube.com/watch?v=5KlnlCq2M5Q" style="width: 550px">
<div>
<button id="download-btn" class="btn btn-large btn-primary" type="submit"><i class="icon-download-alt icon-white"></i> Download Video</button>
<img id="loading" alt="Loading..." style="border-width:0; display: none;" src="img/loading.gif" />
</div>
</form>
</div>
<div id="hero2" class="hero-unit" style="padding-bottom: 15px; display: none;">
<div id="promo" class="alert alert-block alert-message fade in span2" style="float: right">
<button class="close" data-dismiss="alert">×</button>
<h4 class="alert-heading">Check this out!</h4>
<p>HTML5 Video Puzzle. A game build on top of this same script.</p>
<p>
<a class="btn btn-small btn-info" href="http://html5videopuzzle.appspot.com"><i class="icon-info-sign icon-white"></i> HTML5 VIDEO PUZZLE</a>
</p>
</div>
<h1 class="brand">KeepVideos</h1>
<h2>Download YouTube Videos - The easy way - Without plugins or extensions</h2>
<div id="vid" class="alert alert-info" style="display: block; margin-top: 25px;"></div>
</div>
<div class="row-fluid">
<div class="hidden-desktop" style="text-align: center; margin-bottom: 20px">
<script type="text/javascript">
if(window.innerWidth < 800) {
//visible-tablet
//Large Rectangle
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "7499424968";
google_ad_width = 336;
google_ad_height = 280;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
}
</script>
</div>
</div>
<div class="row-fluid">
<div class="span4">
<h2>No Plugin Required</h2>
<p>KeepVideos can download your YouTube videos without Java Applets, Flash or any other kind of plugins.</p>
<p><a class="btn" href="http://coding-everyday.blogspot.com/2012/10/download-youtube-video-files-with.html">View details »</a></p>
</div><!--/span-->
<div class="span4">
<h2>No Extension Required</h2>
<p>With KeepVideos you don't need to install a browser extension to download your YouTube video files.</p>
<p><a class="btn" href="http://coding-everyday.blogspot.com/2012/10/download-youtube-video-files-with.html">View details »</a></p>
</div><!--/span-->
<div class="span4">
<h2>Download Anywehere</h2>
<p>You just need a browser with Javascript support.</p>
<p><a class="btn" href="http://coding-everyday.blogspot.com/2012/10/download-youtube-video-files-with.html">View details »</a></p>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid" style="margin-top: 25px;">
<div class="span12">
<h2>Want to know how it works?</h2>
<p>Check out the tutorial: Download YouTube video files with Javascript</p>
<p><a class="btn btn-large btn-primary" href="http://coding-everyday.blogspot.com/2012/10/download-youtube-video-files-with.html">How to download YouTube video files with Javascript »</a></p>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid" style="margin-top: 25px;">
<div class="hidden-phone2" style="text-align: center; margin-bottom: 20px">
<script type="text/javascript">
if(window.innerWidth >= 800) {
//visible-desktop
/* New Leader */
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "5326073161";
google_ad_width = 728;
google_ad_height = 90;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
}
else if(window.innerWidth > 480) {
//visible-tablet & desk
//Banner
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "6679550646";
google_ad_width = 468;
google_ad_height = 60;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
}
/*
//Large Rectangle
google_ad_client = "ca-pub-6794644097825747";
google_ad_slot = "7499424968";
google_ad_width = 336;
google_ad_height = 280;
document.write('<scr'+'ipt type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></scri'+'pt>');
*/
</script>
</div>
</div><!--/row-->
</div><!--/span-->
</div><!--/row-->
<hr>
<footer class="content">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dct:title" rel="dct:type">html5 Puzzle</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://html5puzzle.appspot.com" property="cc:attributionName" rel="cc:attributionURL">Emerson Estrella</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://html5rocks.com" rel="dct:source">html5rocks.com</a>.
</footer>
</div><!--/.fluid-container-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/libs/bootstrap/bootstrap.min.js"></script>
<!-- <script src="js/script.js"></script> -->
<script src="js/ajax.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35636928-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>