-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (51 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Play MIDI files from your browser with MidiPlayerJS" />
<meta name="keywords" content="MIDI, music, player, javascript" />
<meta name="author" content="Musain">
<title>MidiPlayerJS - JavaScript Midi Player</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="demo/bower_components/skeleton/css/normalize.css">
<link rel="stylesheet" href="demo/bower_components/skeleton/css/skeleton.css">
<link href="https://fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet">
<style type="text/css">
body {background:#f8f8f9;}
h4 {font-family: 'Bree Serif', serif;}
#select-file {display:none;}
</style>
</head>
<body>
<div class="container" style="padding-top:12px;">
<div class="row">
<div class="twelve columns">
<h4><a href="#"><img src="./asset/logo_hover.svg" alt=""></a></h4>
<p id="select-file">
<input type="file" onchange="loadFile()" onclick="Player.stop()" />
</p>
<p id="loading">잠시만 기달려주세용...</p>
<div style="border:1px solid #ccc;margin-bottom:12px;background:#f7f7f7;">
<div id="play-bar" style="height:20px;background:#9991BF;width:0%;"></div>
</div>
<p>
<button class="button button-primary" id="play-button" onclick="Player.isPlaying() ? pause() : play();" disabled="disabled">▶</button>
<button class="button-reset" onclick="stop()">■</button>
</p>
<div id="events" class="well"></div>
</div>
</div>
</div>
<script src="browser/midiplayer.js"></script>
<script src="demo/js/soundfont-player.min.js"></script>
<script src="demo/js/app.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1454657-6', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>