00:00
0:00
let track_name = document.querySelector(".songtitle"); let playpause_btn = document.querySelector(".playpause-track"); let next_btn = document.querySelector(".next-track"); let prev_btn = document.querySelector(".prev-track"); let seek_slider = document.querySelector(".seek_slider"); let curr_time = document.querySelector(".current-time"); let total_duration = document.querySelector(".total-duration"); let track_index = 0; let isPlaying = false; let updateTimer; // Create new audio element let curr_track = document.getElementById("music"); // Define the tracks that have to be played let track_list = [ { name: "i wish you love", path: "https://files.catbox.moe/ytucia.mp3" }, { name:"should've been me", path:"https://files.catbox.moe/v70c2k.mp3" }, { name:"nightvisions", path:"https://files.catbox.moe/n8fhm3.mp3" }, { name:"apple cider", path:"https://files.catbox.moe/eo4hyi.mp3" }, ]; function loadTrack(track_index) { clearInterval(updateTimer); resetValues(); // Load a new track curr_track.src = track_list[track_index].path; curr_track.load(); // Set an interval of 1000 milliseconds for updating the seek slider updateTimer = setInterval(seekUpdate, 1000); // Move to the next track if the current one finishes playing curr_track.addEventListener("ended", nextTrack); } // Reset Values function resetValues() { curr_time.textContent = "0:00"; total_duration.textContent = "0:00"; seek_slider.value = 0; } function playpauseTrack() { if (!isPlaying) playTrack(); else pauseTrack(); } function playTrack() { curr_track.play(); isPlaying = true; // Replace icon with the pause icon playpause_btn.innerHTML = ''; } function pauseTrack() { curr_track.pause(); isPlaying = false; // Replace icon with the play icon playpause_btn.innerHTML = ''; } function nextTrack() { if (track_index < track_list.length - 1) track_index += 1; else track_index = 0; loadTrack(track_index); playTrack(); } function prevTrack() { if (track_index > 0) track_index -= 1; else track_index = track_list.length; loadTrack(track_index); playTrack(); } function seekTo() { seekto = curr_track.duration * (seek_slider.value / 100); curr_track.currentTime = seekto; } function seekUpdate() { let seekPosition = 0; // Check if the current track duration is a legible number if (!isNaN(curr_track.duration)) { seekPosition = curr_track.currentTime * (100 / curr_track.duration); seek_slider.value = seekPosition; // Calculate the time left and the total duration let currentMinutes = Math.floor(curr_track.currentTime / 60); let currentSeconds = Math.floor(curr_track.currentTime - currentMinutes * 60); let durationMinutes = Math.floor(curr_track.duration / 60); let durationSeconds = Math.floor(curr_track.duration - durationMinutes * 60); // Adding a zero to the single digit time values if (currentSeconds < 10) { currentSeconds = "0" + currentSeconds; } if (durationSeconds < 10) { durationSeconds = "0" + durationSeconds; } if (currentMinutes < 10) { currentMinutes = currentMinutes; } if (durationMinutes < 10) { durationMinutes = durationMinutes; } curr_time.textContent = currentMinutes + ":" + currentSeconds; total_duration.textContent = durationMinutes + ":" + durationSeconds; } } // Load the first track in the tracklist loadTrack(track_index);

Angelus, Keanu, or Grell ~ ♪ (S)hy Cher It + Ageless Syshost & Introj. Blk / Hispanic ADHDtistic Yumejin

La Ballerina Loves bugs, kittens, romance, animanga, Laufey, Mitski, Grentperez, and more . . .

Please be patient with La Mademoiselle, since shy has ADHD, autism, and gad. Though it loves a lot of people, Mx. Angelus has certain favorites! The Danseur is reserved, but you may see who Angelus adores by going through hyr journal. La Ballerina uses the term Yumejin and is very attached to the people on this list.. . It considers competitions to be foolish; it does not mind if someone else likes the same person as hy does. The Maiden accepts any terminology, although hy prefers neutral and non-human ones, as well as masc and fem if you're of similar status. Avoid interacting with La Ballerina if you are a zionist, a DSMP fan, proshipper, rcta, vivziepop supporter, or wilbur soot fan.


Music  Mitski, Laufey, Rocco, Grentperez, Beabadoobee, Cuco, Liana Flores, Rio Romeo, Dv4d, Faye Webster, Beach Bunny, Glass Animals, Arctic Monkeys, Lisa Ono, Sabrina Carpenter, Adrianne Lenker, Ichiko Aoba, Chappell Roan

Media  one piece, black butler, mha, Haikyuu, sk8, sport animes, tokyo revengers, dungeon meshi, hsr, one punch man, gravity falls, Enstars, Trigun, Naruto, HxH, Minecraft, Cod, AOT

Misc  cats, romance, pastel colors, animanga, visual novels, Portgas D. Ace, Sabo, Yamato, Nishinoya, Asahi, Bakugo, Masked Deuce, Kirishima, & Hinata

Notes  this crd was made by quinn! © hourlyriti ib archivos & angeidiaries