forked from annaet/watson-tv
-
Notifications
You must be signed in to change notification settings - Fork 15
/
tv.html
57 lines (50 loc) · 2.58 KB
/
tv.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Watson TV</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://rawgit.com/ibm-early-programs/watson-tv/master/style.css">
<link rel="stylesheet" type="text/css" href="https://rawgit.com/ibm-early-programs/watson-tv/master/fonts.css">
<!-- <link rel="stylesheet" type="text/css" href="style.css"> -->
<!-- <link rel="stylesheet" type="text/css" href="fonts.css"> -->
</head>
<body>
<div class="tv-header">
<div class="tv-container">
<h1>
LIVE
<button class="btn tv-transcription-btn" onclick="tv.select('transcribe')">Transcription</button>
<button class="btn tv-translation-btn tv-disabled-btn" onclick="tv.select('translate')">Translation</button>
</h1>
<i class="fa fa-dot-circle-o fa-2x" aria-hidden="true"></i>
</div>
</div>
<div class="tv-tv">
<div class="tv-container">
<video id="tv-video" type="video/mp4">
Your browser doesn't support HTML5 video tag.
</video>
<div class="tv-url">
<span class="input-group">
<span class="input-group-addon">URL</span>
<input type="text" class="form-control" id="tv-url" placeholder=".mp4 URL, eg. TED Talk" value="https://download.ted.com/talks/NadiaLopez_2015P-480p.mp4?apikey=489b859150fc58263f17110eeb44ed5fba4a3b22">
</span>
<button type="button" onclick="tv.sendUrl()" class="btn btn-default">Load</button>
</div>
</div>
</div>
<div class="tv-translation">
<p id="tv-translation-text"></p>
</div>
</body>
<script src="https://use.fontawesome.com/bc434e1504.js"></script>
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- <script src="scripts.js"></script> -->
<script src="https://rawgit.com/ibm-early-programs/watson-tv/master/scripts.js"></script>
</html>