-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (110 loc) · 5.14 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
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
<!DOCTYPE html>
<html>
<head>
<title>Khan Academy TV</title>
<!--<link rel="stylesheet/less" type="text/css" href="less/style.less">-->
<!--<script type="text/javascript" src="js/lib/less-1.3.3.min.js"></script>-->
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="main">
<div id="tv-container">
<div id="tv">
<div id="sidePanel">
<div id="dials">
<a id="videoDial" class="dial" title="Play a random video">
<div class="spinnerThingy">
<div class="spinnerThingyInner"></div>
</div>
</a>
</div>
</div>
<div id="videoPlayerContainer"></div>
<h2 id="tvTitle"><a href="http://www.khanacademy.org" title="Go to the Khan Academy website">Khan Academy</a></h2>
</div>
<div id="controls">
<div id="categories" class="panel">
<h2 class="label">Categories</h2>
<ul class="dropdown"></ul>
</div>
<div id="subcategories" class="panel">
<h2 class="label">Subcategories</h2>
<ul class="dropdown"></ul>
</div>
<div id="playlists" class="panel">
<h2 class="label">Playlists</h2>
<ul class="dropdown"></ul>
</div>
<div id="videos" class="panel">
<h2 class="label">Videos</h2>
<ul class="dropdown">
<li class="error">There are currently no videos available for this topic!</li>
</ul>
</div>
</div>
</div>
<div id="video-info" class="panel">
</div>
</div>
<div id="whatisthis">
<a href="#" title="What is this?"><img src="img/glyphicons_free/glyphicons/png/glyphicons_194_circle_question_mark.png"></a>
</div>
<div id="about-overlay">
<div class="modal panel">
<h2 class="label">About this project</h2>
<a class="close" href="#" title="Go back to videos">Close</a>
<div class="content">
<h3>What is this?</h3>
<p>This is a lightweight <a href="http://www.khanacademy.org">Khan Academy</a> video viewer app. When I first visited the Khan Academy website, I was very curious to check out some of videos. However, I found the list of videos to be a little overwhelming. (The site design has improved greatly since then!) When I learned about the Khan Academy APIs, I decided to make a random video viewer, so that it would take very little effort to get started.</p>
<p>It has since evolved into a generic viewer app that make it very easy to explore the content on Khan Academy. While you can browse through the different topics, I still think the most interesting videos are the ones you stumble upon by choosing a random video. (Click on the dial button on the TV!)</p>
<h3>Like it? Hate it? Meh it?</h3>
<p>Let me know on <a href="http://www.twitter.com/superkerplunk">Twitter</a>.</p>
<h3>Credits</h3>
<p>Icons: <a href="http://glyphicons.com/">Glyphicons</a></p>
</div>
</div>
</div>
<script type="text/javascript" src="js/lib/jquery-1.9.1.min.js"></script>
<!--<script type="text/javascript" src="underscore-min-1.1.6.js"></script>
<script type="text/javascript" src="js/backbone-min-0.5.3.js"></script>-->
<script type="text/javascript" src="js/lib/underscore-1.4.4.js"></script>
<script type="text/javascript" src="js/lib/backbone-0.9.10.js"></script>
<script>
var debug = 1,
playVideo = 1,
eventsMediator = {};
_.extend(eventsMediator, Backbone.Events);
</script>
<script type="text/javascript" src="js/models/PlaylistCollection.js"></script>
<script type="text/javascript" src="js/models/VideoCollection.js"></script>
<script type="text/javascript" src="js/views/ListView.js"></script>
<script type="text/javascript" src="js/views/CategoriesView.js"></script>
<script type="text/javascript" src="js/views/SubcategoriesView.js"></script>
<script type="text/javascript" src="js/views/PlaylistsView.js"></script>
<script type="text/javascript" src="js/views/VideosView.js"></script>
<script type="text/javascript" src="js/views/ControlsView.js"></script>
<script type="text/javascript" src="js/views/VideoInfoView.js"></script>
<script type="text/javascript" src="js/views/VideoDialsView.js"></script>
<script type="text/javascript" src="js/views/VideoPlayerView.js"></script>
<script type="text/javascript" src="js/VideoChooser.js"></script>
<script type="text/javascript" src="js/about.js"></script>
<!-- Minified JS for prod -->
<!--<script type="text/javascript" src="js/assets.js"></script> -->
<!-- End minified JS for prod -->
<script>
$(function() {
var chooser = new VideoChooser();
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30099514-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>