Add audio player component

This commit is contained in:
2024-01-20 13:57:19 -06:00
parent 2dc115b3e4
commit abe4a52de4
6 changed files with 99 additions and 0 deletions

21
index.html Normal file
View File

@ -0,0 +1,21 @@
<!doctype html>
<html>
<head>
<script type="module" src="assets/js/main.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/main.css">
</head>
<body>
<main>
<h1>Nathan's Web Components</h1>
<p>A bunch of web components for my own convenience.</p>
<h2>Audio Player</h2>
A handy audio player widget. Title is an H3.
<audio-player
title="Toxic - Britney Spears (Karate Kid Bootleg)"
description="A massive DnB roller bootleg of a Britney Spears classic: <em>Toxic</em>."
cover="/assets/images/doge.jpg"
cover_alt="A snoozy doge!"
audio="assets/audio/KARATE KID - TOXIC (ILLFD022).wav">
</main>
</body>
</html>