Files
retrowave-player/index.html
Indrajith K L 199501039c Style & Control Changes
* Changes Control labels styles in initial popup
* Changes key bindings
 * x - Toggle Play/Pause
 * a - Play previous (TODO)
 * d - Play Next (TODO)
 * w - Volume Up
 * s - Volume Down
* Adds Swipe Up & Down
 * Volume Up & Down
2022-11-26 21:45:53 +05:30

46 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Retrowave Player</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.min.js"></script>
<link rel="stylesheet" href="hg.css">
<link rel="icon" href="/favicon.ico">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
</head>
<body>
<div class="modal" id="intro-modal">
<div class="modal-bg modal-exit"></div>
<div class="modal-container">
<h3 class="text-center">Welcome to Retrowave Player</h3>
<p class="mt-5">Here are the controls:</p>
<h4 class="mt-5">Play/Pause <span class="controls">x or Click or Touch</span></h4>
<h4 class="mt-5">Volume Up <span class="controls">w or Swipe Up</span></h4>
<h4 class="mt-5">Volume Down <span class="controls">s or Swipe Down</span></h4>
<p class="mt-5">(You can download the music history of your current browser by clicking the history link on the player)</p>
<button class="modal-close modal-exit" id="initButton">X</button>
</div>
</div>
<div id="app">
<div class="music-player"
style="background-image: url(&quot;http://retrowave.ru/artwork/ffd65c85c036971075677e76e6b250eef4c6ef2e.jpg&quot;); background-position: 50% 50%; background-repeat: no-repeat;">
<div class="title-content">
<div class="intro">Now Playing</div>
<hr>
<h3 id="track-name">Retrowave Player</h3>
</div>
<div class="gradient-overlay"></div>
<div class="color-overlay"></div>
<div id="history" class="no-pause">history</div>
<div id="upload-info" class="no-pause" title="Upload a playlist (downloaded from history)">Upload</div>
</div>
</div>
<input id="file-upload" type="file" accept="application/json"/>
<script src="player.js"></script>
</body>
</html>