Added a load button, changed the crossfader curve

This commit is contained in:
2022-06-30 23:35:22 +02:00
parent 42f4c992fe
commit ac34e88809
2 changed files with 82 additions and 43 deletions

View File

@@ -25,18 +25,40 @@
<body>
<!-- Add your site or application content here -->
<p>YTDJ!</p>
<div id="desk">
<div class="player">
<iframe id="playerA" src="" width="480" height="270", frameborder='0'></iframe>
<input type="range" class="volumeSlider" min='0' max = '100' value="80">
</div>
<div class="player">
<iframe id="playerB" src="" width="480" height="270", frameborder='0'></iframe>
<input type="range" class="volumeSlider" min='0' max = '100' value="80">
<div id="players">
<div class="player">
<iframe id="playerA" src="" width="480" height="270", frameborder='0'></iframe>
<input class='load-button' type="button" value="Load new track or playlist">
<input type="range" class="volumeSlider" min='0' max = '100' value="80">
</div>
<div class="player">
<iframe id="playerB" src="" width="480" height="270", frameborder='0'></iframe>
<input type="range" class="volumeSlider" min='0' max = '100' value="80">
<input class='load-button' type="button" value="Load new track or playlist">
</div>
</div>
<input type="range" id='crossfader' name="crossfader" min='0' max='1000' value='500'>
<!-- <div id="search-area">
<div class="search">
<input type="button" value="Load new track or playlist">
<label for="url-player-A">Enter link of a YT video or playlist</label>
<input type="url" name="url-player-A" id="url_A" placeholder="https://www.youtube.com/watch?v=...." pattern="https://.*" size="40">
</div>
<div class="search">
<input type="button" value="Load new track or playlist">
<label for="url-player-B">Enter link of a YT video or playlist</label>
<input type="url" name="url-player-B" id="url_B" placeholder="https://www.youtube.com/watch?v=...." pattern="https://.*" size="40">
</div>
</div> -->
<h1>YTDJ!</h1>
</div>
<input type="range" id='crossfader' name="crossfader" min='0' max='1000' value='500'>
<script src="js/vendor/modernizr-3.11.2.min.js"></script>
<script src="js/plugins.js"></script>