Compare commits
2 Commits
v0.1.0-bet
...
v0.1.2-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a839de999 | ||
|
|
bbf4d88f61 |
9
app.js
9
app.js
@@ -1,4 +1,4 @@
|
||||
const APP_VERSION = '0.1.0-beta';
|
||||
const APP_VERSION = '0.1.2-beta';
|
||||
const playlist = [
|
||||
{ url: 'https://feed.falsefinish.club/Echo%20Reality/PINK%20FLIGHT/MP3%20BOUNCE/01.%20PINK%20FLIGHT%20ATTENDANT.mp3', name: 'TRACK 1 - PINK FLIGHT ATTENDANT' },
|
||||
{ url: 'https://feed.falsefinish.club/Echo%20Reality/PINK%20FLIGHT/MP3%20BOUNCE/02.%20NOW.mp3', name: 'TRACK 2 - NOW' },
|
||||
@@ -1146,6 +1146,13 @@ audio.addEventListener('timeupdate', () => {
|
||||
updateTapeSizes();
|
||||
});
|
||||
|
||||
// Update time display when metadata loads (fixes cold start 0:00 / 0:00 issue)
|
||||
audio.addEventListener('loadedmetadata', () => {
|
||||
const current = formatTime(audio.currentTime);
|
||||
const duration = formatTime(audio.duration);
|
||||
timeDisplay.textContent = `${current} / ${duration}`;
|
||||
});
|
||||
|
||||
// Format time helper
|
||||
function formatTime(seconds) {
|
||||
if (isNaN(seconds)) return '00:00';
|
||||
|
||||
BIN
apple-touch-icon.png
Normal file
BIN
apple-touch-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
favicon-96x96.png
Normal file
BIN
favicon-96x96.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
16
favicon.svg
Normal file
16
favicon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 316 KiB |
@@ -3,8 +3,13 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>16-Bit Cassette Player</title>
|
||||
<title>ECHO REALITY - 16-Bit Cassette Player</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="player">
|
||||
|
||||
21
site.webmanifest
Normal file
21
site.webmanifest
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "ECHO REALITY - 16-Bit Cassette Player",
|
||||
"short_name": "ECHO REALITY",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/web-app-manifest-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/web-app-manifest-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#000000",
|
||||
"display": "standalone"
|
||||
}
|
||||
BIN
web-app-manifest-192x192.png
Normal file
BIN
web-app-manifest-192x192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
BIN
web-app-manifest-512x512.png
Normal file
BIN
web-app-manifest-512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 155 KiB |
Reference in New Issue
Block a user