forked from ravikiranj/chromecast-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (29 loc) · 1.31 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
<html>
<body>
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">
<link href="vplayer.css" rel="stylesheet">
<h2 class="title">Chromecast Video Player</h2>
<form id="vidForm">
<div class="inp"><span>Select video file</span><input id="vInput" type="file" accept="video/*"/> </div>
<div class="inp"><span>Select subtitle file</span><input id="sInput" type="file" accept="application/x-subrip"/> </div>
<div class="inp"><input type="submit" value="Play Video"/></div>
</form>
<div id="message"></div>
<div class="adjust hidden" id="sAdjust">
<div><span>Subtitle size adjust </span>
<input id="sDecrease" value="-" type="button"/>
<input id="sIncrease" value="+" type="button"/>
</div>
</div>
<div id="vidPlayerContainer">
<video id="vidPlayer"
class="video-js vjs-default-skin"
controls preload="auto" width="640" height="360"
poster="ready-to-cast.png">
</video>
</div>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://vjs.zencdn.net/c/video.js"></script>
<script src="vplayer.js"></script>
</body>
</html>