- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Tue, 22 Oct 2024 13:52:17 +0000
- To: public-webrtc-logs@w3.org
> 1. This would prevent the use of a permission policy (because it does not return a promise).
The UA can prompt instead of scroll (or prompt instead of zoom +/- button). No promise needed.
> 2. ... they want to overlay the video with an element on which they draw emoji reactions and announcements, and these must not block scrolling.
This sounds more like a general input problem, not something that needs to affect API. Doesn't CSS already have:
```css
.overlay {
pointer-events: none; /* Allows pointer events to pass through */
}
```
The UA controls the horizontal and the vertical, so I'm sure we can come up with a rule where it must forward scrolling here. Worst case: a `div.enableGestureForwarding` to forward gestures to the video element underneath.
> 3. Limiting to HTMLVideoElement does not block any attack vector, so the limitation has no justification.
The attack vector was explained in https://github.com/w3c/mediacapture-screen-share-extensions/issues/14#issuecomment-2426657705. Tying scrolling to playback seems a reasonable direction to help UAs mitigate this.
> 4. What happens if the stream plugged into the HTMLVideoElement first goes through processing?
I would leave it up to the UA to make a determination.
>This API shape scopes things to the track instead of the capture; this is a mistake.
I don't believe it does that. If we agree on _"multiple target-elements"_, I assume we agree interaction is carried upstream so it affects all of them.
> ... But since this is blocking consensus rather than helping it - because Mozilla objects to this new shape - let's go back to captureWheel(element)
Both `enableGestureForwarding` and `forwardGestures` are better names than `captureWheel`. I see no reason to go backwards on naming.
With my co-chair hat, I ask that we not _"[assign intent or interpretations to other contributors' comments](https://github.com/w3c/webrtc-charter/blob/gh-pages/workmode.md#github-issue-etiquette)"_. Mozilla has not formally objected to anything yet.
--
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share-extensions/issues/13#issuecomment-2429352632 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 22 October 2024 13:52:18 UTC