vidstack / player

UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
https://vidstack.io
MIT License
1.89k stars 114 forks source link

DefaultAudioLayout current/end time slot not working at all. #1311

Closed empz closed 2 weeks ago

empz commented 2 weeks ago

Current Behavior:

I'm trying to set the time slot to display the current time (not the remainder) by default. I've tried all different kind of options by overriding the currentTime and endTime slots of the DefaultAudioLayout. Nothing seems to be happening. Even setting both to null doesn't remove them from the layout.

Expected Behavior:

I should be able to replace or hide the currentTime / endTime slots of the DefaultAudioPlayer.

Reproduction Link: https://stackblitz.com/edit/vidstack-examples-devefd?file=src%2Fplayer.tsx