HTML and CSS Reference
In-Depth Information
pause()
A method used to pause a video that is playing.
Additionally, there are some properties you can use to check the status of a video, including:
duration
duration
The length of the video in seconds.
currentTime
The current playing time of the video in seconds. This can be used in conjunction with
duration for some interesting effects, which we will explore later.
ended
true or false , depending on whether the video has finished playing.
muted
true or false . Used to inquire whether the sound of the playing video has been muted.
paused
true or false . Used to inquire whether the video is currently paused.
NOTE
There are even more properties that exist for HTMLVideoElement . Check them out at this site .
Search WWH ::




Custom Search