Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
change live-design-demo's player to 'video' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
You-J committed Nov 2, 2021
1 parent f5af040 commit 3e3897c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion web/components/landingpage/motion/live-design-demo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export default function LiveDesignDemoFrame() {
}
}}
/> */}
<ReactPlayer

{/* <ReactPlayer
url={require("public/videos/landingpage-section2-live-design-demo.min.mp4")}
loop
playing
Expand All @@ -55,6 +56,14 @@ export default function LiveDesignDemoFrame() {
},
},
}}
/> */}
<video
src={require("public/videos/landingpage-section2-live-design-demo.min.mp4")}
autoPlay
muted
loop
playsInline
preload="auto"
/>
</DesignFramePreview>
);
Expand Down

0 comments on commit 3e3897c

Please sign in to comment.