UI
Time API
This component is used to display certain media states as a unit of time, such as the current time or duration.
Import
Properties
Previous
<-
Volume Slider
UI
This component is used to display certain media states as a unit of time, such as the current time or duration.
import '@vidstack/player/define/vds-time.js';
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@vidstack/player@next/cdn/define/vds-time.js"
></script>
type
'current' | 'buffered' | 'duration' | 'seekable'
show-hours
boolean
format
attribute is set to time
.
pad-hours
boolean
format
attribute is set to time
.
remainder
boolean