interface PlayableRichContent

Passed to playRichContent and canPlayRichContent by RichContentCard and JournalCard. It is a dump's RichContent, its thumbnail replaced by the dump's own when it has one.

Properties

type: string

The provider, as in RichContent.type.

url: string

The page, which native Bandcamp playback resolves.

optional
title: string
optional
embedUrl: string
optional
thumbnailUrl: string

Shown in the player's header, unless Bandcamp has album art of its own.

optional
siteName: string

Shown under the title in the player's header.

Usage

import { type PlayableRichContent } from "src/hooks/player/usePlayRichContent.ts";