1. UI
  2. Time

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

js
        import '@vidstack/player/define/vds-time.js';

      
cdn
        <script
  type="module"
  src="https://cdn.jsdelivr.net/npm/@vidstack/player@next/cdn/define/vds-time.js"
></script>

      

Properties