svelte-video-player
svelte-video-player copied to clipboard
Added simple function prop to obtain formatted time
Allows formatted time from the video player to be returned when setTime is executed; useful for displaying messages or changing content on a page depending on the video's current timestamp.
Example usage
let getTime = (time) => console.log(time);