-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitchen-sink.html
114 lines (92 loc) · 3.85 KB
/
kitchen-sink.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
<html>
<head>
<title>Chime Music Player</title>
<link rel="stylesheet" href="http://www.jplayer.org/latest/skin/blue.monday/jplayer.blue.monday.css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
</head>
<body>
<h1>Chime Music Player</h1>
<form>
<fieldset>
<legend>Browse for Files</legend>
<p><input type="file" id="files" name="files[]" multiple /></p>
</fieldset>
</form>
<div id="chimePlayer" class="jp-jplayer"></div>
<div id="chimeContainer" class="jp-audio">
<div class="jp-type-playlist">
<div class="jp-gui jp-interface">
<ul class="jp-controls">
<li><a href="javascript:;" class="jp-previous" tabindex="1">previous</a></li>
<li><a href="javascript:;" class="jp-play" tabindex="1">play</a></li>
<li><a href="javascript:;" class="jp-pause" tabindex="1">pause</a></li>
<li><a href="javascript:;" class="jp-next" tabindex="1">next</a></li>
<li><a href="javascript:;" class="jp-stop" tabindex="1">stop</a></li>
<li><a href="javascript:;" class="jp-mute" tabindex="1" title="mute">mute</a></li>
<li><a href="javascript:;" class="jp-unmute" tabindex="1" title="unmute">unmute</a></li>
<li><a href="javascript:;" class="jp-volume-max" tabindex="1" title="max volume">max volume</a></li>
</ul>
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
</div>
</div>
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></div>
</div>
<div class="jp-time-holder">
<div class="jp-current-time"></div>
<div class="jp-duration"></div>
</div>
<ul class="jp-toggles">
<li><a href="javascript:;" class="jp-shuffle" tabindex="1" title="shuffle">shuffle</a></li>
<li><a href="javascript:;" class="jp-shuffle-off" tabindex="1" title="shuffle off">shuffle off</a></li>
<li><a href="javascript:;" class="jp-repeat" tabindex="1" title="repeat">repeat</a></li>
<li><a href="javascript:;" class="jp-repeat-off" tabindex="1" title="repeat off">repeat off</a></li>
</ul>
</div>
<div class="jp-playlist">
<ul>
<li></li>
</ul>
</div>
<div class="jp-no-solution">
<span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
</div>
</div>
</div>
<!-- jPlayer dependencies -->
<script src="js/underscore.js"></script>
<script src="http://www.jplayer.org/latest/js/jquery.jplayer.min.js"></script>
<script src="http://www.jplayer.org/latest/js/jplayer.playlist.min.js"></script>
<script src="js/chime-mapping.js"></script>
<script src="js/chimeSongs.js"></script>
<script src="js/wx-song-map.js"></script>
<script>
var chimePlaylist = new jPlayerPlaylist({
jPlayer: "#chimePlayer",
cssSelectorAncestor: "#chimeContainer"
}, [
],
{
playlistOptions: {
enableRemoveControls: true,
autoPlay: true
},
/*
swfPath: "/js",
supplied: "ogv, m4v, oga, mp3",
*/
supplied: 'mp3',
smoothPlayBar: true,
keyEnabled: true,
audioFullScreen: true // Allows the audio poster to go full screen via keyboard
}
);
$(document).on('ready', function() {
getLocation();
});
</script>
</body>
</html>