Skip to content

Commit 836fccb

Browse files
committed
docs: prefer .mp4 file over .mov
1 parent 84f29dd commit 836fccb

28 files changed

Lines changed: 54 additions & 20 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: 🎬 Check .mov files
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
check-mov:
13+
runs-on: ubuntu-latest
14+
name: 🔍 check .mov files
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Check for .mov files
19+
run: |
20+
MOV_FILES=$(find . -type f -iname "*.mov")
21+
if [ -n "$MOV_FILES" ]; then
22+
echo "::error::Found .mov files that should be converted to .mp4 (Google Chrome does not support .mov codec):"
23+
echo "$MOV_FILES"
24+
echo ""
25+
echo "Please convert them using:"
26+
echo ""
27+
echo "find . -type f -iname \"*.mov\" -exec sh -c '"
28+
echo "for f do"
29+
echo " ffmpeg -i \"\$f\" -c:v libx264 -pix_fmt yuv420p -movflags +faststart \"\${f%.*}.mp4\""
30+
echo "done"
31+
echo "' sh {} +"
32+
exit 1
33+
fi
34+
echo "No .mov files found ✅"

docs/blog/2024-05-13-release-1-12/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ These details allow you to draw elements behind the cursor, making interaction w
2929

3030
import Video from "@site/src/components/Video";
3131

32-
<Video src="/video/selection-demo.mov" width={65} />
32+
<Video src="/video/selection-demo.mp4" width={65} />
3333
<br />
3434

3535
Later on I'm planning to extend `KeyboardAwareScrollView` to react on selection tracking, so if your selection is overlapped with keyboard then `KeyboardAwareScrollView` will automatically scroll and avoid an overlap.

docs/blog/2025-12-01-release-1-20/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ import ComparisonTable from "@site/src/components/ComparisonTable";
7979
import Video from "@site/src/components/Video";
8080

8181
<ComparisonTable
82-
left={<Video src="/video/validation-without-scroll.mov" width={65} />}
83-
right={<Video src="/video/validation-with-scroll.mov" width={65} />}
82+
left={<Video src="/video/validation-without-scroll.mp4" width={65} />}
83+
right={<Video src="/video/validation-with-scroll.mp4" width={65} />}
8484
leftText={<i>Focused input gets hidden after validation</i>}
8585
rightText={
8686
<i>Focused input remains visible after validation and gets auto-scrolled</i>

docs/blog/2026-03-16-release-1-21/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ React Native's layout engine has to re-measure and re-position the entire view t
3939
- **Performance**: the layout engine is not free, and running it at 60 (or 120) FPS per frame adds up.
4040

4141
<Video
42-
src="/video/kav-choppy.mov"
42+
src="/video/kav-choppy.mp4"
4343
style={{ height: "40vh", marginBottom: 20 }}
4444
/>
4545

@@ -119,7 +119,7 @@ With this cross-platform `contentInset` primitive in place, we can now build scr
119119
## `KeyboardChatScrollView`
120120

121121
<Video
122-
src="/video/keyboard-chat-scroll-view/always.mov"
122+
src="/video/keyboard-chat-scroll-view/always.mp4"
123123
style={{ height: "40vh", marginBottom: 20 }}
124124
/>
125125

docs/docs/api/components/keyboard-chat-scroll-view.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import Video from "@site/src/components/Video";
66

77
<Video
8-
src="/video/keyboard-chat-scroll-view/always.mov"
8+
src="/video/keyboard-chat-scroll-view/always.mp4"
99
style={{ height: "40vh" }}
1010
/>
1111

@@ -47,7 +47,7 @@ Controls how the chat content responds when the keyboard appears. Defaults to `"
4747
Content always lifts with the keyboard, keeping the bottom messages visible **regardless** of the current scroll position. This is the most common chat app behavior, used by **Telegram**, **WhatsApp**, and others.
4848

4949
<Video
50-
src="/video/keyboard-chat-scroll-view/always.mov"
50+
src="/video/keyboard-chat-scroll-view/always.mp4"
5151
style={{ height: "40vh" }}
5252
/>
5353

@@ -56,7 +56,7 @@ Content always lifts with the keyboard, keeping the bottom messages visible **re
5656
Content lifts only when the scroll view is **at the end** (i.e., the last message is visible or near the bottom). If the user has scrolled up to read older messages, the keyboard won't push the content around. This matches the **ChatGPT** mobile app behavior.
5757

5858
<Video
59-
src="/video/keyboard-chat-scroll-view/when-at-end.mov"
59+
src="/video/keyboard-chat-scroll-view/when-at-end.mp4"
6060
style={{ height: "40vh" }}
6161
/>
6262

@@ -74,7 +74,7 @@ Content lifts when the keyboard appears, but **does not drop back** when the key
7474
Content never moves in response to the keyboard. The keyboard simply overlaps the chat. This matches the **Perplexity** app behavior.
7575

7676
<Video
77-
src="/video/keyboard-chat-scroll-view/never.mov"
77+
src="/video/keyboard-chat-scroll-view/never.mp4"
7878
style={{ height: "40vh" }}
7979
/>
8080

docs/docs/api/hooks/input/use-focused-input-handler.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ This handler can be handy when you need to have an access to input on a global l
8383

8484
import Video from "@site/src/components/Video";
8585

86-
<Video src="/video/selection-demo.mov" width={60} />
86+
<Video src="/video/selection-demo.mp4" width={60} />

docs/docs/guides/building-chat-app.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Keyboard handling in chat applications has always been one of the trickiest prob
1818
import Video from "@site/src/components/Video";
1919

2020
<Video
21-
src="/video/keyboard-chat-scroll-view/always.mov"
21+
src="/video/keyboard-chat-scroll-view/always.mp4"
2222
style={{ height: "40vh", marginBottom: 20 }}
2323
/>
2424

docs/static/video/kav-choppy.mov

-2.84 MB
Binary file not shown.

docs/static/video/kav-choppy.mp4

782 KB
Binary file not shown.
-4.62 MB
Binary file not shown.

0 commit comments

Comments
 (0)