From 4717caf107baa3b24a4c7a24bb0b62d0fb11c0d0 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 7 Mar 2023 10:16:42 -0800 Subject: [PATCH] fix(demo): Fix native controls pointer events stolen by LCEVC canvas --- ui/less/containers.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/less/containers.less b/ui/less/containers.less index 6dbc6aa41b..253189f88a 100644 --- a/ui/less/containers.less +++ b/ui/less/containers.less @@ -103,6 +103,10 @@ * below (Y axis) .shaka-play-button-container. */ .shaka-canvas-container { .overlay-child(); + + /* Make sure pointer events can reach the video element in the case of native + * controls. */ + pointer-events: none; } /* Container for controls positioned at the bottom of the video container: