-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpad.html
159 lines (144 loc) · 4.68 KB
/
pad.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>Hyperaudio</title>
<link rel="stylesheet" type="text/css" href="css/pad.css">
<link rel="stylesheet" type="text/css" href="css/hyperaudio.player.css">
<link rel="stylesheet" type="text/css" href="css/player.fix.css">
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="wrapper">
<header id="header">
<h1><form id="mix-title-form"><input type="text" value="Untitled Mix - click to edit" id="mix-title" onfocus="if(this.value=='Untitled Mix - click to edit')this.value='Untitled Mix'"></input></form></h1>
<div id="share-button">f</div>
<div id="save-button">6</div>
<div id="save-button-saving"></div>
</header>
<div id="video-source" class="video"></div>
<div id="transcript">
<p>Select media using the menu icon in the top left.</p>
<p>Highlight text, click/touch and <b>hold until grabbed</b> then drag to the right to start remixing.</p>
<p>Click/touch and <b>hold</b> then drag effects from below to create effects and transitions.</p>
</div>
<div id="stage-videos" class="video">
<!--
These divs need to be added by the projector so they are in the correct place in the structure.
Also the z-index of these are over the Projector GUI atm, so just removing for time being.
<div id="fxHelper" class="video-transition-servo"></div>
<div id="titleFXHelper" class="title-effect-servo"></div>
-->
</div>
<div id="stage"></div>
<div id="sidemenu">
<div id="sidemenu-handle" class="icon-menu"></div>
<ul class="tabbar">
<li id="sidemenu-media" class="selected"><span class="icon-video">Video</span></li>
<li id="sidemenu-bgm"><span class="icon-music">BGM</span></li>
</ul>
<ul class="panel selected" id="panel-media">
<!--
<li class="folder"><div>Directory</div>
<ul>
<li data-source="clapper-responds">Clapper responds</li>
<li data-source="sen-feinstein-1212">Sen. Feinstein</li>
</ul>
</li>
<li data-source="clapper-responds">Clapper responds</li>
<li data-source="sen-feinstein-1212">Sen. Feinstein</li>
-->
</ul>
<ul class="panel" id="panel-bgm">
<!--
<li class="folder"><div>Other Music</div>
<ul>
<li
data-id="123456"
data-mp3="http://www.jplayer.org/audio/mp3/Miaow-07-Bubble.mp3"
data-ogg="http://www.jplayer.org/audio/ogg/Miaow-07-Bubble.ogg">
Miaow - Bubble
</li>
<li
data-id="789012"
data-mp3="http://www.jplayer.org/audio/mp3/Miaow-04-Lismore.mp3"
data-ogg="http://www.jplayer.org/audio/ogg/Miaow-04-Lismore.ogg">
Miaow - Lismore
</li>
</ul>
</li>
-->
</ul>
</div>
<footer id="footer">
<ul id="transcript-options">
<li> </li>
</ul>
<ul id="effects">
<li id="fadeFX">Fade</li>
<li id="trimFX">Trim</li>
<li id="titleFX">Title</li>
</ul>
</footer>
</div>
<div id="signin-modal" class="modal">
<div class="modal-mask"></div>
<div class="modal-window">
<div class="modal-header">
Sign In
</div>
<div class="modal-close">
g
</div>
<form id="signin-form">
<div class="modal-input">
<label for="username">Username</label>
<input type="text" name="username" id="username" placeholder="Username">
</div>
<div class="modal-input">
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password">
</div>
<div class="modal-input">
<input type="submit" id="signin" value="Sign In">
</div>
</form>
</div>
</div>
<div id="share-modal" class="modal">
<div class="modal-mask"></div>
<div class="modal-window">
<div class="modal-header">
Embed
</div>
<div class="modal-close">
g
</div>
<form>
<div class="modal-input">
<label for="share-embed-code">Copy & paste into your page</label>
<textarea name="share-embed-code" id="share-embed-code" rows="3" readonly></textarea>
<p>Increase <iframe> height to 600 to display the text content</p>
</div>
<div class="modal-input">
<input type="submit" value="OK" />
</div>
</form>
</div>
</div>
<div id="music-player"></div>
<!-- <script type="text/javascript" src="build/hyperaudio-pad.js"></script> -->
<script type="text/javascript" src="dist/hyperaudio-pad.min.js"></script>
<script type="text/javascript">
/*
// TMP During Dev
document.addEventListener('ga', function (e) {
console.log('[GA] origin:"' + e.detail.origin + '" | type:"' + e.detail.type + '" | action:"' + e.detail.action + '"');
}, false);
*/
HAP.init();
</script>
<script type="text/javascript" src="/commons/tools/analytics/ga.js"></script>
</body>
</html>