Changeset 650b601 in Klonkt for src/views/shell.ejs


Ignore:
Timestamp:
06/15/2026 02:02:56 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
4c9f29a
Parents:
d352b63
Message:

feat: embed pause applies to every embed (not just .folio-embed)

Broaden the blur handler that pauses the site player: now triggers on focus
to any iframe instead of only iframes inside .folio-embed. On the site,
iframes are by definition embeds (YouTube/Spotify/SoundCloud/Vimeo/Apple Music/
Bandcamp), so this covers all platforms without gaps. Cache-buster v=12 -> v=13.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    rd352b63 r650b601  
    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=12"></script>
     311<script src="/assets/js/audio-player.js?v=13"></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.