Skip to content

Commit b8b0571

Browse files
committed
add mp4 format hint on drop zone
1 parent 1e4ca71 commit b8b0571

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/components/DropZone.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
margin-top: 0.5rem;
3737
}
3838

39+
.drop-format-hint {
40+
color: #444;
41+
font-size: 0.7rem;
42+
margin-top: 0.75rem;
43+
}
44+
3945
.drop-zone input {
4046
display: none;
4147
}

src/components/DropZone.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export function DropZone({ onFile }: DropZoneProps) {
3434
<div className="drop-icon">🎬</div>
3535
<div className="drop-text">Drag & drop a video here</div>
3636
<div className="drop-hint">or click to browse</div>
37+
<div className="drop-format-hint">MP4 recommended for best casting compatibility</div>
3738
<input
3839
ref={inputRef}
3940
type="file"

0 commit comments

Comments
 (0)