fix: make MP3 downloads reliable again

Use bundled lamejs instead of a CDN global, and avoid browser user-gesture download blocking by preparing the MP3 first and downloading on a follow-up click.

Made-with: Cursor
This commit is contained in:
b1rdmania
2026-02-27 15:41:07 +00:00
parent 5bd2493d90
commit 9937f5a02a
4 changed files with 74 additions and 15 deletions
+1 -2
View File
@@ -1301,7 +1301,6 @@
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/lamejs@1.2.1/lame.min.js"></script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
</html>