update: Playlist mode toggle und Mini player bar für Audiobücher

fix: Music starts → ABS pauses: ABS starts → Music pauses
This commit is contained in:
Honey committed 2026-05-03 15:04:30 +02:00
1 parent 88999d30ca
commit 8f126562e7
4 files changed
+100 -3

No files matched your search

+15 -1
View File
@@ -435,6 +435,18 @@
</div>
</div>
<!-- ABS MINI BAR -->
<div id="abs-mini-bar" class="abs-mini-bar" onclick="absOpenPlayer()">
<div id="abs-mini-cover" class="abs-mini-cover">📚</div>
<div class="abs-mini-info">
<div id="abs-mini-title" class="abs-mini-title">—</div>
<div id="abs-mini-chapter" class="abs-mini-chapter"></div>
</div>
<button class="abs-mini-play" id="abs-mini-play" onclick="event.stopPropagation();absTogglePlay()">
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor"><polygon points="5 3 19 12 5 21 5 3"/></svg>
</button>
</div>
<!-- PREVIEW BAR (iTunes 30s) -->
<div class="preview-bar" id="preview-bar">
<div class="player-art" id="preview-art" style="width:42px;height:42px;border-radius:6px"><div class="no-art" style="font-size:16px">♪</div></div>
@@ -586,7 +598,9 @@
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="6 9 12 15 18 9"/></svg>
</button>
<span class="abs-player-label">Hörbuch</span>
<div style="width:36px"></div>
<button class="abs-hbtn" id="abs-playlist-btn" onclick="absTogglePlaylistMode()" title="Kapitelliste fixieren">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><circle cx="3" cy="6" r="1.2" fill="currentColor" stroke="none"/><circle cx="3" cy="12" r="1.2" fill="currentColor" stroke="none"/><circle cx="3" cy="18" r="1.2" fill="currentColor" stroke="none"/></svg>
</button>
</div>
<!-- Cover -->