Black Lives Matter. Please consider donating to Black Girls Code today.

Set currentTime in html.Video

hello,

I want to set the video to play from a specific moment by:

html.Video(src = “…”, currentTime=‘222’)

but it says that html.Video does not have currentTime.

While html.Video has this property on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

1 Like