98 lines
No EOL
4.6 KiB
HTML
98 lines
No EOL
4.6 KiB
HTML
<HTML>
|
|
<head>
|
|
<link rel = "stylesheet" href = "../stylesheets/basics.css">
|
|
<link rel = "stylesheet" href = "../stylesheets/audio.css">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
|
|
|
|
<script src = "../scripts/audioPlayer.js" defer></script>
|
|
</head>
|
|
<body id = "body">
|
|
<div id = "title">
|
|
<h1>My Work</h1>
|
|
<a href = "../index.html">back</a>
|
|
</div>
|
|
|
|
<div id = "audioContainer">
|
|
<!--------------------------------------------------------------------------------------------->
|
|
<div class = "songTitle">two trucks having sex</div>
|
|
<div class = "audioPlayer">
|
|
<audio class = "audioElement" src = "../audio/twoTrucks.mp3" preload=”metadata”></audio>
|
|
<div class = "playButtonContainer">
|
|
<button class = "playButton"><img src = "../images/play.png"></button>
|
|
</div>
|
|
<input type="range" class="audioSlider" max="100" value="0">
|
|
<span class = "timeContainer">
|
|
0:00
|
|
</span>
|
|
<span class = "timeSeparator">/</span>
|
|
<span class = "durationContainer">
|
|
0:00
|
|
</span>
|
|
</div>
|
|
<!--------------------------------------------------------------------------------------------->
|
|
<div class = "songTitle">goodbye horses</div>
|
|
<div class = "audioPlayer">
|
|
<audio class = "audioElement" src = "../audio/goodbyeHorses.mp3" preload=”metadata”></audio>
|
|
<div class = "playButtonContainer">
|
|
<button class = "playButton"><img src = "../images/play.png"></button>
|
|
</div>
|
|
<input type="range" class="audioSlider" max="100" value="0">
|
|
<span class = "timeContainer">
|
|
0:00
|
|
</span>
|
|
<span class = "timeSeparator">/</span>
|
|
<span class = "durationContainer">
|
|
0:00
|
|
</span>
|
|
</div>
|
|
<!--------------------------------------------------------------------------------------------->
|
|
<div class = "songTitle">rats birthday mixtape</div>
|
|
<div class = "audioPlayer">
|
|
<audio class = "audioElement" src = "../audio/ratsBirthdayMixtape.mp3" preload=”metadata”></audio>
|
|
<div class = "playButtonContainer">
|
|
<button class = "playButton"><img src = "../images/play.png"></button>
|
|
</div>
|
|
<input type="range" class="audioSlider" max="100" value="0">
|
|
<span class = "timeContainer">
|
|
0:00
|
|
</span>
|
|
<span class = "timeSeparator">/</span>
|
|
<span class = "durationContainer">
|
|
0:00
|
|
</span>
|
|
</div>
|
|
<!--------------------------------------------------------------------------------------------->
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
ok so to add a song, copy this and replace the things written in fullcaps
|
|
paste it above here underneath the long line of dashes
|
|
|
|
<div class = "songTitle">SONG TITLE</div>
|
|
<div class = "audioPlayer">
|
|
<audio class = "audioElement" src = "../audio/SONG FILE NAME.mp3" preload=”metadata”></audio>
|
|
<div class = "playButtonContainer">
|
|
<button class = "playButton"><img src = "../images/play.png"></button>
|
|
</div>
|
|
<input type="range" class="audioSlider" max="100" value="0">
|
|
<span class = "timeContainer">
|
|
0:00
|
|
</span>
|
|
<span class = "timeSeparator">/</span>
|
|
<span class = "durationContainer">
|
|
0:00
|
|
</span>
|
|
</div>
|
|
|
|
also worth copy and pasting the green line underneath just to make it easier for yourself next time you need to add a song
|
|
|
|
also, anything in green is a comment, you make comments using the symbols at the start and end of this bit
|
|
-->
|
|
</div>
|
|
</body>
|
|
</HTML> |