Commit Graph

86 Commits

Author SHA1 Message Date
Miroslav Šedivý b714663299 implicit hosting: request control prior interacting with the screen. #499 (#540) 2025-05-31 16:43:25 +02:00
Miroslav Šedivý 0765352abd fix regression for #522. #523 2025-04-27 09:43:50 +02:00
Miroslav Šedivý f145bd58c9 Fix mobile keyboard behavior (#522)
* keep only openMobileKeyboard, do not focus when touch device.

* do not test for hover when checking touch device.
2025-04-26 11:55:55 +02:00
Miroslav Šedivý 0d62acfe04 add mobile keyboard icon. (#497) 2025-04-02 21:44:30 +02:00
Domenic Horner 4e335efb1e disable textarea spellcheck (in firefox) (#482)
* Update policies.json

added `browser.tabs.allowTabDetach` to prevent drag-detaching tabs into seperate windows

* disable spellcheck on the text area
2025-03-09 15:10:01 +01:00
Miroslav Šedivý 0d7887e9d2 workaround for firefox read clipboard, #373.
Firefox 122+ incorrectly reports that it can read the clipboard but it can't instead it hangs when reading clipboard, until user clicks on the page and the click itself is not handled by the page at all, also the clipboard reads always fail with "Clipboard read operation is not allowed."
2024-06-16 22:55:13 +02:00
Miroslav Šedivý 4ab5901ba9 sync clipboard only if in focus #373. 2024-06-16 22:27:46 +02:00
Miroslav Šedivý 5f698330fc hide controls on mobile when locked. #381 2024-04-04 23:55:13 +02:00
Miroslav Šedivý f32fc989b9 overlay: no pointer events when not hosting. #381 2024-04-04 23:48:59 +02:00
Miroslav Šedivý df634be1c5 lint. 2023-03-27 21:47:41 +02:00
Pawel Urbanek aee7650d47 add touch events on touch monitor 2023-03-27 14:28:42 +02:00
Miroslav Šedivý e868ad4061 Merge branch 'pu/autoplay' 2023-03-25 22:19:43 +01:00
Miroslav Šedivý b41d0bf956 lint fix. 2023-03-25 22:19:01 +01:00
Miroslav Šedivý 8dba9cff44 revert extra controls usecase. 2023-03-25 21:53:17 +01:00
Pawel Urbanek 217cc451ea add autoplay audio if possible 2023-03-24 21:33:32 +01:00
Pawel Urbanek 1f81bd3efc hide buttons in cast mode 2023-03-24 21:15:51 +01:00
Miroslav Šedivý 76fc892823 fix video state sync, fixes #250. 2023-03-18 13:31:40 +01:00
Miroslav Šedivý 724f5fe384 show some controls for cast #254. 2023-02-23 18:43:00 +01:00
Miroslav Šedivý dfe8b8b57d npm lint. 2023-01-29 20:31:00 +01:00
Ethan Waldo 10e2fbd499 Use Keyboard API to lock screen for supported browsers
When using fullscreen mode, hitting the escape key will exit out of
fullscreen mode.  To stay in fullscreen mode but pass the escape
key through, we can use the Keyboard API to require the escape key
be held down https://wicg.github.io/keyboard-lock/#escape-key.

Tested in Chrome which supports Keyboard API and Firefox which does
not https://caniuse.com/?search=navigator.keyboard with no errors
in either case.
2023-01-06 20:10:34 -05:00
Miroslav Šedivý ec69eb2dcb gramarly disable for textarea 2022-09-27 20:34:14 +02:00
Miroslav Šedivý 882daddb51 hide resize from textarea. 2022-09-27 20:30:06 +02:00
Miroslav Šedivý fd17a282fa switch overlay to textarea to correctly interpret dead keys. 2022-09-26 18:59:42 +02:00
Miroslav Šedivý 0062fc28aa overlay focus only when hosting. 2022-04-30 19:34:12 +02:00
Miroslav Šedivý 58509cbfc9 Replace node-sass with sass (#138) 2022-01-29 14:25:01 +01:00
Miroslav Šedivý e3d3911832 fullscreen bug in safari, fixes #121. 2021-12-12 19:26:21 +01:00
Miroslav Šedivý 7d1fa28d88 Implicit control gain (#108)
* add client side implicit hosting.

* add server side implicit hosting.

* update changelog.

* allow clipboard & keybaord access.
2021-12-11 14:34:28 +01:00
Miroslav Šedivý c00c30e211 fix keyboard sync. 2021-12-11 14:13:27 +01:00
Miroslav Šedivý 8217321ecb add types. 2021-12-11 14:11:45 +01:00
Miroslav Šedivý da200698dd move elementRequestFullscreen to utils. 2021-12-11 14:11:38 +01:00
Miroslav Šedivý 7d2c3526b2 rename func. 2021-12-11 14:11:34 +01:00
Miroslav Šedivý 9264483901 sync player state with store. 2021-11-28 14:50:14 +01:00
Miroslav Šedivý 368e4d7f7c ix autoplay unmute. 2021-11-28 14:33:52 +01:00
Miroslav Šedivý bb308f8bcc hide mute overley on unmute. 2021-11-28 14:33:43 +01:00
Miroslav Šedivý 8153f352f8 fix whitespaces. 2021-11-28 14:16:29 +01:00
Miroslav Šedivý ef7975af80 add umute overlay. 2021-11-27 18:20:01 +01:00
Miroslav Šedivý 61fcf7f699 add lock controls for users. 2021-11-16 22:50:11 +01:00
Miroslav Šedivý 9be75c20ca typescript catch error any. 2021-08-31 18:25:06 +02:00
Miroslav Šedivý b808530f0c use async / await. 2021-08-31 17:58:32 +02:00
Miroslav Šedivý 429fc7eb68 fix fast scroll speed on macos. (#85) 2021-07-17 11:56:26 +02:00
Miroslav Šedivý ffcca402ef fixed mac os keyboard mapping. (#84) 2021-07-17 11:56:16 +02:00
Miroslav Šedivý 305271916c start unmuted on reconnects #65. 2021-06-07 11:57:44 +02:00
Miroslav Šedivý 8177b23557 fullscreen fallback to video #62. 2021-05-24 23:56:01 +02:00
m1k1o abd1a76965 shake keyboard icon. 2021-04-04 16:57:23 +02:00
m1k1o 8e18465409 add cast query param. 2021-04-03 22:25:11 +02:00
mbattista b88f1750f7 updated dependencies 2021-03-28 19:44:43 +00:00
m1k1o 2782a1dd08 requestFullscreen compatibility. 2021-02-18 20:07:06 +01:00
m1k1o 3160382015 dispaly PIP only if available. 2021-02-18 18:02:23 +01:00
m1k1o c2e57cf51a fix client linter 2021-02-13 12:05:59 +01:00
m1k1o b8b43d69b0 add playsinline attribute for video 2021-02-12 22:48:31 +01:00