Lets a deployment choose between Bandcamp's embed and the site's own player. It reads the choice for usePlayRichContent.

The server writes GERBEUR_BANDCAMP_PLAYER into index.html's bandcamp-player <meta> tag (api/lib/index-html.ts, and the Vite config in development). A missing or unknown value means "embed", so a misconfigured deployment keeps Bandcamp's iframe.

Type Aliases

T
BandcampPlayer = "embed" | "native"

A Bandcamp player. "embed" is Bandcamp's own iframe, "native" is the site's player on the resolved streams.

Variables

v
BANDCAMP_PLAYER: BandcampPlayer

This deployment's Bandcamp player, read once when the app loads.