Although HTML5 videos can use controls to display controls and control playback, pause, etc., different browsers may display different effects, so many times we need to use Dom to perform some customized operations and controls. Below is a small example.
Of course the effect is not very beautiful. If you want it to look good, you can set the css style yourself.