FediMusicPlayer/index.html
2023-04-24 19:57:31 -07:00

55 lines
1.6 KiB
HTML

<!-- FediMusicPlayer - An HTML5 + Javascript Music Player -->
<!-- Copyright (C) 2023 <yanderefedi@proton.me> -->
<!-- -->
<!-- This program is free software: you can redistribute it and/or modify -->
<!-- it under the terms of the GNU Affero General Public License as published by -->
<!-- the Free Software Foundation, either version 3 of the License, or -->
<!-- (at your option) any later version. -->
<!-- -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU Affero General Public License for more details. -->
<!-- -->
<!-- You should have received a copy of the GNU Affero General Public License -->
<!-- along with this program. If not, see <https://www.gnu.org/licenses/>. -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Music Player</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<article>
<aside>
<img id="audioCoverArt" class="audioCoverArt" src="" alt="Cover"></img>
</aside>
<div class="content">
<header>
<h3>
<a id="audioTrack">Track</a>
</h3>
By
<a id="audioArtist">Artist</a>
</header>
</div>
</article>
<audio controls id="audioPlayer">
Sorry, your browser doesn't support HTML5!
</audio>
<div class="queue-wrapper">
<table class="playlist">
<tbody id="audioPlaylist">
</tbody>
</table>
</div>
<script src="audioPlayerPlaylist.js"></script>
<script src="audioPlayer.js"></script>
<script>audioPlayer();</script>
</main>
</body>
</html>