Skip to content

Commit 0f8412e

Browse files
committed
stop video from pre load
1 parent 538e90f commit 0f8412e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Header.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ export default function Header({
156156
easeType="ease-in"
157157
render={({ style }) => (
158158
<video
159+
preload="none"
159160
className={styles.video}
160161
id="tabPanel-1"
161162
aria-labelledby="tabPanel-1"
@@ -179,6 +180,7 @@ export default function Header({
179180
>
180181
<h4 className={styles.videoHeading}>React Native</h4>
181182
<video
183+
preload="none"
182184
className={styles.video}
183185
id="tabPanel-2"
184186
aria-labelledby="tabPanel-2"

0 commit comments

Comments
 (0)