moved video
This commit is contained in:
+1
-2
@@ -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>
|
||||
);
|
||||
});
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user