moved video

This commit is contained in:
Danilo Di Cuia
2023-03-27 12:02:13 +02:00
parent bd8123ba09
commit a52f79b3bc
2 changed files with 1 additions and 2 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import React, { useEffect, useState } from "react";
import firebase from "firebase/app";
import { Button, Grid, Stack } from "@mui/material";
import videoSrc from "./video.mp4";
import logoSrc from "./logo_chat.svg";
import { useParams } from "react-router-dom";
@@ -187,7 +186,7 @@ const Messaggio = ({ messaggiApprovati }) => {
export const VideoComponent = React.memo(() => {
return (
<video autoPlay muted loop id="myVideo">
<source src={videoSrc} type="video/mp4" />
<source src={process.env.PUBLIC_URL + "/video.mp4"} type="video/mp4" />
</video>
);
});
BIN
View File
Binary file not shown.