I’d like to display a video on a web page, but have buttons to advance to certain frames and freeze them. The buttons will let them look at key points along the video. How is this done? I did a search, but the only directions I get is about pausing a video.
Use the currentTime property:
HTML Audio/Video DOM currentTime Property
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
1 Like