whoami7 - Manager
:
/
home
/
bleuhbh
/
www
/
root
/
public
/
newRadio
/
Upload File:
files >> /home/bleuhbh/www/root/public/newRadio/index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Music Player</title> <style> body { font-family: sans-serif; padding: 20px; } .track { margin: 10px 0; cursor: pointer; } .track:hover { text-decoration: underline; } </style> </head> <body> <h1>Music Player</h1> <audio id="player" controls style="width: 100%; margin-top: 20px;"></audio> <div id="playlist"></div> <script> // List of audio files (hardcoded for now — could be automated with server-side logic) const musicFiles = [ "../../../Musique Louis/Tonite It Shows.mp3", "../../../Musique Louis/Always the sun - The Stranglers - Goût du rythme Cocktail de musique.flac", "../../../Musique Louis/August - Aurélien Buitoni.wav", "music/song2.wav", "music/song3.flac" ]; const playlist = document.getElementById('playlist'); const player = document.getElementById('player'); musicFiles.forEach((file, index) => { const name = file.split('/').pop(); const div = document.createElement('div'); div.className = 'track'; div.textContent = `${index + 1}. ${name}`; div.textContent = file; div.onclick = () => { player.src = file; player.play(); }; playlist.appendChild(div); }); </script> </body> </html>
Copyright ©2021 || Defacer Indonesia