Skip to content

Commit

Permalink
fix: disable the webm video
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Dec 3, 2024
1 parent aa8449e commit 0bd0add
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Home/TextBlockIntroducingSafenet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const TextBlockIntroducingSafenet = (props: TextBlockImageProps) => (
<Box mt={{ xs: '-30px', md: 'auto' }}>
<TextBlockImage {...props}>
<video autoPlay muted playsInline loop width="100%" poster="/images/Safenet/globe-poster.png">
<source src="/videos/Safenet/Globe.webm" type="video/webm" />
{/* <source src="/videos/Home/Globe.mp4" type="video/mp4" /> */}
{/* <source src="/videos/Safenet/Globe.webm" type="video/webm" /> */}
<source src="/videos/Home/Globe.mp4" type="video/mp4" />
<img src="/images/Safenet/globe-poster.png" alt="Safenet globe" />
</video>
</TextBlockImage>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Safenet/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const Hero = () => (

<Container className={css.container}>
<video autoPlay muted playsInline loop className={css.video} poster="/images/Safenet/globe-poster.png">
<source src="/videos/Safenet/Globe.webm" type="video/webm" />
{/* <source src="/videos/Safenet/Globe.mp4" type="video/mp4" /> */}
{/* <source src="/videos/Safenet/Globe.webm" type="video/webm" /> */}
<source src="/videos/Safenet/Globe.mp4" type="video/mp4" />
<img src="/images/Safenet/globe-poster.png" alt="Safenet globe" />
</video>

Expand Down

0 comments on commit 0bd0add

Please sign in to comment.