useVideoTime()

useVideoTime(): Object

Returns the current time value from the video clock.

Return type

TypeDescription
NumberThe current time value from the video clock. Note: This value is in seconds, not milliseconds like some JS timing APIs.

Sample code

Additional examples of usage for this custom hook can be found in the source code for the VCS SDK.