function GlobalPlayer
GlobalPlayer(): React.JSX.Element | null

Renders what PlayerContext plays, with a link to its dump: a MediaPlayer for a file or a stream, the provider's iframe for an embed, and the tracklist of the queue or of a YouTube playlist. It renders nothing while nothing plays.

Return Type

React.JSX.Element | null

Usage

import { GlobalPlayer } from "src/components/player/GlobalPlayer.tsx";