Clicking video should pause it

I understand that we can put an overlay on the video to capture click events, I wonder if there is an api for capturing play and pause on video element that can sync with your server.

When I click on a video it should pause it, currently I can only pause when I click the pause button which is a much smaller target. When I click the video it pauses and unpauses it, likely to keep in sync with other people, but what I want is a feature flag that allows me to set clicking the video as pausing for everyone.

1 Like