Skip to content

Commit aaf9a1c

Browse files
committed
feat: add video support
1 parent 1cc5755 commit aaf9a1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pexels-grid/src/components/PhotoContent.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export function PhotoContent({
2626
backgroundAttachment: "fixed",
2727
backgroundSize: "contain",
2828
}}
29+
crossorigin="anonymous"
30+
loop={true}
2931
onClick={goBack}
3032
/>
3133
);
@@ -42,6 +44,7 @@ export function PhotoContent({
4244
backgroundAttachment: "fixed",
4345
backgroundSize: "contain",
4446
}}
47+
crossorigin="anonymous"
4548
onClick={goBack}
4649
/>
4750
);

0 commit comments

Comments
 (0)