Changeset ddecd9a in Klonkt for src/views/shell.ejs


Ignore:
Timestamp:
06/14/2026 10:17:23 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
102d2f0
Parents:
a1c8cb8
Message:

feat: audio player three layouts — desktop mini-only, tablet/auto full-player

  • Desktop (>=1200px): NO full player anymore; the expand trigger opens nothing (JS guard) and doesn't look clickable. Mini player only.
  • Tablet/auto (768-1199px): new large, full-screen, button-friendly full-player variant (large cover + large controls) for tablets + tablet-in-the-car. Opens on tap and auto-opens on a fresh queue.
  • Phone (<768px): unchanged fullscreen sheet (breakpoint 720->768).
  • Cache busters: audio-player.js v9->v10, audio.css (new) v2.

Note: real Android Auto requires a native app; this is the web tablet/car variant.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    ra1c8cb8 rddecd9a  
    168168     anywhere (admin previews, post embeds, etc). The player itself is
    169169     a singleton — see the script tag near </body>. -->
    170 <link rel="stylesheet" href="/assets/css/audio.css">
     170<link rel="stylesheet" href="/assets/css/audio.css?v=2">
    171171
    172172<%- include('partials/shared-styles') %>
     
    309309     ?v=N — cache-buster: bump bij elke audio-player.js wijziging zodat
    310310     Cloudflare (max-age=1y) niet de oude versie blijft serveren. -->
    311 <script src="/assets/js/audio-player.js?v=9"></script>
     311<script src="/assets/js/audio-player.js?v=10"></script>
    312312<% if (site && site.enable_audio_player && audioTracks && audioTracks.length > 0) { %>
    313313  <script>window.PCMS_SITE_TRACKS = <%- JSON.stringify(audioTracks) %>;</script>
Note: See TracChangeset for help on using the changeset viewer.