Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting zoom via gesture forwarding #43

Open
youennf opened this issue Oct 25, 2024 · 4 comments
Open

Supporting zoom via gesture forwarding #43

youennf opened this issue Oct 25, 2024 · 4 comments

Comments

@youennf
Copy link

youennf commented Oct 25, 2024

Supporting zoom is currently an entirely different API.
I am wondering whether part of the functionality could be moved back to user gesture forwarding.

In particular, user often zooms in and zooms out via two mechanisms:

This makes me wonder the following is possible:

One question is how convenient that would be (more/less?) compared to web pages doing their own UI.
OS wide mechanisms are usually great for accessibility for instance.

@eladalon1983
Copy link
Member

eladalon1983 commented Oct 25, 2024

Pinching for tactile surfaces

Please see my answer here. Especially the demo it links to.

OS wide keyboard combinations, for instance https://support.apple.com/en-ke/guide/mac-help/mchl779716b8/mac.

The user might either be attempting to control the zoom on the capturing OR captured application. The capturing application has a good way of knowing which it is. For example, if the user interacts with zoom-controls the app intentionally overlays on top of the preview tile, it's clear what the user is attempting to do. By attaching setZoomLevel() to the event handler of the relevant controls. We have a working solution here.

Is there a concrete proposal for something else? Could that alternative be shown to be superior to the existing design in some way?

@eladalon1983
Copy link
Member

Zoom-controls for the current app (Docs-Meet combo-app):
Screenshot 2024-10-25 at 11 21 08

Zoom-controls for the captured app (Meet capturing Docs):
Screenshot 2024-10-25 at 11 22 58

@eladalon1983
Copy link
Member

One question is how convenient that would be (more/less?) compared to web pages doing their own UI.

We have multiple Web developers participating in the origin trial, who consider the ability to present their own customized UI a must.

@eladalon1983 eladalon1983 transferred this issue from w3c/mediacapture-screen-share-extensions Nov 13, 2024
@eladalon1983 eladalon1983 changed the title [Capture control] Supporting zoom via gesture forwarding Supporting zoom via gesture forwarding Nov 13, 2024
@eladalon1983
Copy link
Member

Issue transferred; heads up to those discussion participants who might otherwise be looking for it elsewhere: @jan-ivar, @youennf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants