function canPlayRichContent
canPlayRichContent(rc: PlayableRichContent): boolean

Checks whether rc can be played, for the cards to offer a play button. In native mode a Bandcamp page plays even without an embed, since its streams are resolved from the page itself.

Parameters

Return Type

boolean

Usage

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