UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
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.
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