mirror of
https://github.com/screentinker/screentinker.git
synced 2026-05-15 07:32:23 -06:00
The remote-control feature dispatches synthetic click events on the player when the dashboard forwards touches. The global click handler called requestFullscreen() on every click, but the browser only honors that API for trusted user gestures — synthetic events rejected with "Permissions check failed" / "API can only be initiated by a user gesture", spamming the console for the duration of any remote session. Gate the fullscreen request on event.isTrusted. Local user clicks still trigger fullscreen; remote-control taps no longer try (and fail). Bumped SW cache to v8. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| db | ||
| middleware | ||
| player | ||
| routes | ||
| services | ||
| ws | ||
| config.js | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||