property UsePlayRichContentResult.playRichContent

Plays rc, its title in the player linking to the dump page dumpHref. Resolves to false when nothing could play, so the caller can open the link instead.

Type

(
dumpHref?: string
) => Promise<boolean>

Usage

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