Changeset 8ab20b6 in Klonkt for src/views


Ignore:
Timestamp:
06/20/2026 04:42:18 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
fef781e
Parents:
8d43aa1
Message:

fix(player): muted start to work around YouTube autoplay block

YouTube blocks unmuted autoplay (track loaded title but stayed at 0:00).
Now the YT player starts MUTED (muted autoplay is always allowed) and
unmutes in onYTState once it is actually playing (unless the user muted it
themselves). buster audio-player.js?v=27.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    r8d43aa1 r8ab20b6  
    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=26"></script>
     302<script src="/assets/js/audio-player.js?v=27"></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.