How to completely hide controls with HTML5 video?

Spread the love

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.

Leave a Reply

Your email address will not be published. Required fields are marked *