Commit graph

5 commits

Author SHA1 Message Date
uimaxbai
fa8fc6be15 Revert "style: auto-fix linting issues"
This reverts commit e1b0b403fa.
2026-04-22 21:28:43 +01:00
uimaxbai
7b8a6e6cab Enable AudioContext and proxy for all users, not just extension users
- Set crossorigin="anonymous" as a static HTML attribute on audio/video elements
  so all users can use createMediaElementSource (required for Web Audio API)
- Remove window.__tidalOriginExtension guards from AudioContext init/changeSource:
  binaural DSP, EQ, M/S processing, and audio graph now active for everyone
- Route direct (non-DASH) stream URLs through getProxyUrl in player.js so
  non-extension users get CORS headers from the proxy for lossless/MP4 audio
- Proxy preloader src as well so browser cache warms with the proxied URL
- Add idempotency guard in getProxyUrl to prevent double-proxying when Shaka
  retries segment requests (proxied URL still contains "tidal.com" in params)
- Extension users: still bypass proxy and get CDN URLs directly (unchanged)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 21:07:39 +01:00
uimaxbai
067b68c4c6 fix proxy again 2026-04-18 14:12:11 +01:00
uimaxbai
b313b868f8 fix proxy 2026-04-18 13:48:38 +01:00
uimaxbai
1dd7e97f94 add files 2026-04-18 13:00:33 +01:00