property MediaPlayerProps.onEnded

Called at the media's end, where GlobalPlayer plays the next item.

Type

() => void

Usage

import { type MediaPlayerProps } from "src/components/player/MediaPlayer.tsx";