To completely hide controls with HTML5 video, we disable user interactions with it.
To doi this, we write
video {
pointer-events: none;
}
to disable all pointer events on video elements with pointer-events: none;
.
Then users can’t click on anything on the video element.