Explorar el Código

unmute video

master
azri hace 1 semana
padre
commit
27301eac09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/components/VideoAds/VideoAds.jsx

+ 1
- 1
src/components/VideoAds/VideoAds.jsx Ver fichero

@@ -5,7 +5,7 @@ import videoAds from "../../assets/video/amberads.mp4";
5 5
 
6 6
 const VideoAds = ({ video_url, height, width }) => {
7 7
   const videoRef = useRef(null);
8
-  const [isMuted, setIsMuted] = useState(true);
8
+  const [isMuted, setIsMuted] = useState(false);
9 9
 
10 10
   const toggleMute = () => {
11 11
     if (videoRef.current) {

Loading…
Cancelar
Guardar