New issue
Advanced search Search tips

Issue 902447 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Override volume button keys on mobile

Project Member Reported by joelriley@google.com, Nov 6

Issue description

When building a web app that implements a camera with the MediaStream and ImageCapture APIs, one major gap between the web-built camera and the native camera is that the volume rocker keys on a mobile device cannot be overridden to capture a photo like they are in most native camera apps.

It would be useful to provide the web app with the ability to detect volume button key presses and override them to perform a custom action in the web app. It would be understandable to limit this feature to PWAs installed to homescreen or in a fullscreen mode.

 
Joel - is this a dup of https://bugs.chromium.org/p/chromium/issues/detail?id=897310 (the latter doesn't include much context)

Sign in to add a comment