Skip to content

Commit

Permalink
optimize promo video loading
Browse files Browse the repository at this point in the history
  • Loading branch information
perryd01 committed Feb 6, 2024
1 parent e9705d5 commit aaba7a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added public/img/thumbnail.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion src/components/tiles/promo-video-tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ export function PromoVideoTile({ data: { description, sectionTitle } }: Props) {
<video
className='w-full aspect-[16/9]'
controls
preload='none'
src='/video/promo_video.mp4'
poster='/img/thumbnail.png'
poster='/img/thumbnail.webp'
></video>
</div>
</Tile.Body>
Expand Down

0 comments on commit aaba7a8

Please sign in to comment.