Answer the question
In order to leave comments, you need to log in
How to make a working pause for HTML player on JS?
The task is next. There is a button that shows and starts the player through:
Pause is written like this:
How to make a pause button appear in place of the start button. After all, you can’t assign two properties to one element at the same time, if I pause, then when the player starts, it appears and the video is immediately paused, but it needs to be played. $('.video-play').show();
video.pause();
Answer the question
In order to leave comments, you need to log in
How to make a pause button appear instead of the start button
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question