Search.../

duration

Gets the total play time of the current video, in seconds.

Type:

numberRead Only

Was this helpful?

Get the current video's duration

Copy Code
1let duration = $w("#myVideoBox").duration // 198