-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (104 loc) · 7.87 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
<html>
<head>
<title id="title">Side-by-Side Player</title>
<meta name="theme-color" content="#1a771d">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<div id="container">
<div id="lastModified">Last Modified:</div>
<table cellspacing="4" cellpadding="0" border="0" class="centerElement" style="text-align: center">
<colgroup>
<col style="width: 10%">
<col span="2" style="width: 40%">
<col style="width: 10%">
</colgroup>
<tbody>
<tr class="playerCells">
<td colspan="2">
<div id="player0"></div>
</td>
<td colspan="2">
<div id="player1"></div>
</td>
</tr>
<tr>
<th style="width: 10%">
<!--<input type="button" width="100%" onclick="toggleVideos()" value="Play" id="playPause" class="fa-youtube-play">-->
<button onclick="toggleVideos()"><i id="playPauseIcon" class="fa fa-youtube-play"></i> <span id="playPause">Play</span></button>
</th>
<th style="width: 40%; font-size: 15px; text-decoration: underline;">Video 1</th>
<th style="width: 40%; font-size: 15px; text-decoration: underline;">Video 2</th>
<th style="width: 10%">Apply</th>
</tr>
<tr>
<th>Set Video:</th>
<td>
<input type="text" name="textArea" id="video0">
</td>
<td>
<input type="text" name="textArea" id="video1">
</td>
<td>
<input type="button" onclick="setVideos()" value="Set">
</td>
</tr>
<tr>
<th>Set Time:</th>
<td>Hours:
<input type="text" min="0" name="number" id="timeHours0" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">Minutes:
<input type="text" min="0" name="number" id="timeMinutes0" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">Seconds:
<input type="text" min="0" name="number" id="timeSeconds0" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">
</td>
<td>Hours:
<input type="text" min="0" name="number" id="timeHours1" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">Minutes:
<input type="text" min="0" name="number" id="timeMinutes1" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">Seconds:
<input type="text" min="0" name="number" id="timeSeconds1" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">
</td>
<td>
<input type="button" onclick="setTimes()" value="Set">
</td>
</tr>
<tr>
<th>Set Volume:</th>
<td>
<i class="fa fa-volume-up"></i><input type="number" min="0" max="100" name="number" id="volume0" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">
<input type="button" onclick="setVolume(0)" value="Set">
<button onclick="toggleMute(0)"><i id="muteIcon0" class="fa fa-volume-off"></i> <span id="mute0">Mute</span></button>
</td>
<td>
<i class="fa fa-volume-up"></i><input type="number" min="0" max="100" name="number" id="volume1" onkeydown="return (event.ctrlKey || event.altKey || (47 < event.keyCode && event.keyCode < 58 && event.shiftKey == false) || (95 < event.keyCode && event.keyCode < 106) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode > 34 && event.keyCode < 40) || (event.keyCode == 46))">
<input type="button" onclick="setVolume(1)" value="Set">
<button onclick="toggleMute(1)"><i id="muteIcon1" class="fa fa-volume-off"></i> <span id="mute1">Mute</span></button>
</td>
<td></td>
</tr>
<tr>
<th>Convert YTD Link:</th>
<td colspan="2">
<input type="text" name="textArea" id="doubler">
</td>
<td>
<input type="button" onclick="processDoubler()" value="Submit">
</td>
</tr>
<tr>
<th>Permalink:</th>
<td colspan="3">
<input type="text" name="textArea" id="perma">
</td>
</tr>
<tr>
<th>Website Information:</th>
<td colspan="3">
<p>This website was originally created as an alternative to the website <a href="http://www.youtubedoubler.com/">YouTube Doubler</a>, allowing more control through Javascript interaction with YouTube's API. Soon after creation, I was informed that the developers of YouTube Doubler were working on a new iteration of their website's idea, geared toward the same idea: More control. While this website will stay up as legacy, I will link their new site as it offers more features in a cleaner presentation: <a href="http://crossfade.io/">crossfade.io</a> ~MegaScience</p>
</td>
</tr>
</tbody>
</table>
</div>
<script src="modified.js"></script>
<script src="main.js"></script>
</body>
</html>