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.
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.
import { canPlayRichContent } from "src/hooks/player/usePlayRichContent.ts";