MDN self-hosted library · e01.org

HTMLMediaElement: currentTime property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
video.currentTime;
// Might be:
// 23.404
// 23.404
// 23.452
// …
js
const video = document.createElement("video");
console.log(video.currentTime);