Open brunogrcsada opened 3 years ago
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.
let getTime = (time) => console.log(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
Example result