{file.name}
Last modified:{' '}
{new Date(file.lastModifiedDateTime).toLocaleString(undefined, {
dateStyle: 'short',
timeStyle: 'short',
})}
{
setPlayerStatus(PlayerState.Ready)
}}
onPlay={() => {
setPlayerStatus(PlayerState.Playing)
}}
onPause={() => {
setPlayerStatus(PlayerState.Paused)
}}
onError={() => setPlayerStatus(PlayerState.Paused)}
onEnded={() => setPlayerStatus(PlayerState.Paused)}
/>