svelte-video-player icon indicating copy to clipboard operation
svelte-video-player copied to clipboard

Added simple function prop to obtain formatted time

Open brunogrcsada opened this issue 3 years ago • 0 comments

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);

Example result

image

brunogrcsada avatar Oct 13 '21 23:10 brunogrcsada