Changeset 0dbb5c1 in Klonkt for src/views/shell.ejs


Ignore:
Timestamp:
06/18/2026 07:24:25 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
6623453
Parents:
5c261b7
Message:

Mini player: clickable on desktop → navigates to the associated post

When playing from a post embed, the current post URL is stored on the track(s)
(survives the sessionStorage resume). The expand trigger (cover+title) navigates
on desktop (≥768px) via htmx to that post — audio keeps playing. Mobile (or no
post known, e.g. site tracks) keeps the current behaviour: open the player sheet.
audio-player.js cache-buster v16.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    r5c261b7 r0dbb5c1  
    300300     ?v=N — cache-buster: bump bij elke audio-player.js wijziging zodat
    301301     Cloudflare (max-age=1y) niet de oude versie blijft serveren. -->
    302 <script src="/assets/js/audio-player.js?v=15"></script>
     302<script src="/assets/js/audio-player.js?v=16"></script>
    303303<!-- Eigen custom media-embeds (YouTube/SoundCloud/Spotify) via de echte
    304304     player-API's + gedeelde mutual-exclusion registry met de site-speler. -->
Note: See TracChangeset for help on using the changeset viewer.