-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathid3.html
53 lines (43 loc) · 1.49 KB
/
id3.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
<html>
<head>
<title>ID3 Tags</title>
<script src="js/id3.min.js"></script>
<script src="js/file-reader.js"></script>
</head>
<body>
<h1>ID3 Tags</h1>
<h2 id="demo">Demo</h2>
<ol class="files" ondragover="event.stopPropagation(); event.preventDefault();"
ondrop="event.stopPropagation(); event.preventDefault(); loadFromFile(event.dataTransfer.files[0]);">
<li>Click to read the ID3 info from the following music files:
</li>
<li>
<form style="display: inline">
<script>if(typeof FileReader === "undefined") document.write('<span class="warning">[Not supported by your browser]</span>')</script>
Use your own local files: <input type="file" id="file" onchange="load(this)">
</form>
</li>
<li>You can also drag your local files here if it's supported by your browser</li>
</ol>
<dl>
<dt>Artist</dt>
<dd id="artist"></dd>
<dt>Title</dt>
<dd id="title"></dd>
<dt>Album</dt>
<dd id="album"></dd>
<dt>Year</dt>
<dd id="year"></dd>
<dt>Comment</dt>
<dd id="comment"></dd>
<dt>Genre</dt>
<dd id="genre"></dd>
<dt>Track</dt>
<dd id="track"></dd>
<dt>Lyrics</dt>
<dd id="lyrics"></dd>
<dt>Cover Art</dt>
<dd><img id="art" src=""></dd>
</dl>
</body>
</html>