changed to efficient video formats

This commit is contained in:
liyunze 2024-08-03 10:56:25 +10:00
parent 78f6bf6ff5
commit 69481bf6d6
5 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -20,14 +20,14 @@ import ProjectsComponent from "../components/sections/ProjectsComponent.svelte";
class="image-container flex w-full lg:ml-auto lg:w-1/2 mb-5 lg:mb-0 aspect-video [perspective:200px] relative lg:mr-5"
>
<video
src="/videos/chess_opencv_demo.mov"
src="/videos/chess_opencv_demo.webm"
class="absolute max-w-full
top-1/2 left-1/2
[transform:rotateY(5deg)_rotateX(0deg)_translateZ(-50px)_translateX(-45%)_translateY(-50%)] opacity-40
border-2 border-solid border-white rounded-xl"
width="700"></video>
<video
src="/videos/chess_opencv_demo.mov"
src="/videos/chess_opencv_demo.webm"
width="700"
class="playable absolute max-w-full
top-1/2 left-1/2
@ -119,13 +119,13 @@ import ProjectsComponent from "../components/sections/ProjectsComponent.svelte";
class="image-container flex w-full lg:ml-auto lg:w-1/2 mb-5 lg:mb-0 aspect-video [perspective:200px] relative lg:mr-5"
>
<video
src="/videos/aim_lab_demo.mov"
src="/videos/aim_lab_demo.webm"
class="absolute max-w-full
top-1/2 left-1/2 [transform:translateX(-48%)_translateY(-48%)_translateZ(-50px)_rotateY(-3deg)] opacity-40
border-2 border-solid border-white rounded-xl"
width="700"></video>
<video
src="/videos/aim_lab_demo.mov"
src="/videos/aim_lab_demo.webm"
width="700"
class="playable absolute max-w-full
top-1/2 left-1/2