Add audio player component
This commit is contained in:
21
index.html
Normal file
21
index.html
Normal 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>
|
Reference in New Issue
Block a user