-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (168 loc) · 6.76 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
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
<!DOCTYPE html>
<html>
<head>
<title>Mandarin Vids</title>
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/jquery-ui.min.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/slider.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="/lib/jquery.min.js"></script>
<script src="/lib/bootstrap.min.js"></script>
<script src="/lib/bootstrap-slider.js"></script>
<script src="/lib/bootbox.min.js"></script>
<script src="/lib/pouchdb-3.3.0.min.js"></script>
<script src="/js/script.js"></script>
<script src="/js/videologic.js"></script>
<link rel="import" href="/embed_players/templates.html" id="templates">
</head>
<body>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-54e084225fb0a742" async="async"></script>
<div class="pull-left">
<h1>Mandarinvids</h1>
a smart Chinese video player
</div>
<div class="pull-right">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
Tools <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li>
<div class="checkbox">
<label>
<input type="checkbox" id="subBlockSetting"> Subtitle block
</label>
</div>
</li>
<li class="divider"></li>
<li>
<span id="watched-time">Watched: 0:00</span>
</li>
<li class="divider"></li>
<li>
<a href="" id="resetbutton">
<i class="fa fa-bomb"></i> Reset Progress
</a>
</li>
</ul>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#preferences">
Preferences
</button>
</div>
</div>
<div class="pull-right" id="contact"></div>
<div class="clearfix"></div>
<div class="playerband">
<div id="playerdiv">
<div id="player"></div>
<div id="subtitleblock">
<div id="subtitlebuttons">
<i class="fa fa-times text-danger" id="subsblockclosebutton"></i>
<i class="fa fa-arrows-v" id="subtitleresize"></i>
<i class="fa fa-ellipsis-v" id="subtitledrag"></i>
</div>
</div>
</div>
</div>
<div class="buttons">
<div class="btn-group" role="group">
<a class="playerbutton btn btn-success" href="" id="verysoonbutton">
<i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i> Again very soon!
</a>
<a class="playerbutton btn btn-success" href="" id="soonbutton">
<i class="fa fa-star"></i><i class="fa fa-star"></i> Again soon
</a>
<a class="playerbutton btn btn-success" href="" id="skipbutton">
<i class="fa fa-star"></i> Again someday
</a>
<div class="btn-group pull-left">
<button type="button" class="btn btn-warning dropdown-toggle" id="hardbutton" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-sort-amount-asc"></i> Too hard for now <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="" class="playerbutton" id="20hours">Play in 20 hours</a></li>
<li><a href="" class="playerbutton" id="50hours">Play in 50 hours</a></li>
<li><a href="" class="playerbutton" id="100hours">Play in 100 hours</a></li>
</ul>
</div>
<a class="playerbutton btn btn-danger" href="" id="neverbutton">
<i class="fa fa-trash"></i> Never again
</a>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-4">
<h4>Can't watch some of the videos?</h4>
<ol>
<li>
Download <a target="_blank" href="https://chrome.google.com/webstore/detail/hola-better-internet/gkojfkhlekighikafcpjkiklfbnlmeio">this Chrome extension</a> or <a target="_blank" href="http://cdn4.hola.org/static/hola_firefox_ext_1.6.543_www.xpi">this Firefox extension</a>.
</li>
<li>
Open the source page of the video that doesn't work (click on the name in the corner of the video player).
</li>
<li>
Set the extension to China.
</li>
<li>
Enjoy the video.
</li>
</ol>
</div>
<div class="col-md-4">
<h4>Help us</h4>
<ol>
<li>Download our <a target="_blank" href="https://github.com/PabloRomanH/mandarinvids-extension">Chrome extension</a> to suggest videos.</li>
<li>
Look for videos in one of the websites on the right. Here are a few keywords to get you started:
<ul>
<li>动漫 (cartoon)</li>
<li>童話故事 (fairy tale)</li>
<li>食谱 (recipe)</li>
<li>如何 (how to)</li>
</ul>
</li>
<li>Click on the extension button to submit the video you are currently watching.</li>
</ol>
</div>
<div class="col-md-4 logos">
<a target="_blank" href="http://www.youku.com/"><img src="/img/youku.png" /></a>
<a target="_blank" href="http://www.letv.com/"><img src="/img/letv.png" /></a>
<a target="_blank" href="http://www.tudou.com/"><img src="/img/tudou.png" /></a>
<a target="_blank" href="http://www.iqiyi.com/"><img src="/img/iqiyi.png" /></a>
<a target="_blank" href="http://tv.sohu.com/"><img src="/img/sohu.png" /></a>
<a target="_blank" href="http://video.sina.com.cn/"><img src="/img/sina.png" /></a>
<a target="_blank" href="http://v.qq.com/"><img src="/img/qq.png" /></a>
<a target="_blank" href="http://www.56.com/"><img src="/img/56.png" /></a>
<a target="_blank" href="https://www.youtube.com/?gl=TW"><img src="/img/youtube.png" /></a>
</div>
</div>
</div>
<div class="modal fade" id="preferences" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Mandarinvids Preferences</h4>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<p>Frequency of new videos:</p>
<input type="text" id="freqslider" class="slider slider-horizontal form-control" value="" data-slider-min="0" data-slider-max="100" data-slider-step="10" data-slider-orientation="horizontal" data-slider-selection="after" data-slider-tooltip="show">
</div>
<div class="checkbox">
<label><input type="checkbox" id="subson">Enable subtitle block</label>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>