Files
hyperframes/packages
Miguel ÁngelandClaude Opus 4.8 1faeba4aa5 feat(lint): error on crossorigin on media (breaks preview) (#1793)
`crossorigin` on <video>/<audio> forces a CORS-checked fetch. The
server-side renderer downloads media directly (no CORS) so renders
always work, but Studio preview runs in the browser — a media host that
omits Access-Control-Allow-Origin silently fails the load, so the media
shows blank/black in preview while the render looks fine, hiding the bug.

Plain displayed media never needs crossorigin; it's only required to read
pixels/samples back (canvas/WebGL texture, WebAudio createMediaElementSource)
and only when the host is known CORS-enabled. New rule
media_crossorigin_breaks_preview flags it as an error with that guidance.


Claude-Session: https://claude.ai/code/session_01NsmfF5FzhqXY6hZ8buXgUE

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 20:57:31 -07:00
..
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-16 13:16:09 -04:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00
2026-06-29 18:34:29 -07:00