Skip to content

Commit

Permalink
feat: add video support
Browse files Browse the repository at this point in the history
  • Loading branch information
danilaplee committed Jan 23, 2025
1 parent 1cc5755 commit aaf9a1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pexels-grid/src/components/PhotoContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export function PhotoContent({
backgroundAttachment: "fixed",
backgroundSize: "contain",
}}
crossorigin="anonymous"
loop={true}
onClick={goBack}
/>
);
Expand All @@ -42,6 +44,7 @@ export function PhotoContent({
backgroundAttachment: "fixed",
backgroundSize: "contain",
}}
crossorigin="anonymous"
onClick={goBack}
/>
);
Expand Down

0 comments on commit aaf9a1c

Please sign in to comment.