ADR-007: hls.js, and an iframe for the rest
Status: Accepted
Decision: Video hosted on Patreon’s own CDN, as an HLS manifest the browser cannot play
natively, plays through hls.js. Video from a third-party provider (YouTube, Vimeo) opens in a
new browser tab on the site of the provider. It does not play in an iframe inside the panel.
Why: Chrome sends no Referer header for an iframe under the chrome-extension:// origin,
and the video providers require one. The player would answer with Error 153 and a black window.
Read the panel: viewer for each media type and media, CDN, and CSP.