azri 10 місяці тому
джерело
коміт
a3cb030ec1
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      src/components/VideoAds/VideoAds.jsx

+ 1
- 1
src/components/VideoAds/VideoAds.jsx Переглянути файл

5
 
5
 
6
 const VideoAds = ({ video_url, height, width }) => {
6
 const VideoAds = ({ video_url, height, width }) => {
7
   const videoRef = useRef(null);
7
   const videoRef = useRef(null);
8
-  const [isMuted, setIsMuted] = useState(false);
8
+  const [isMuted, setIsMuted] = useState(true);
9
 
9
 
10
   const toggleMute = () => {
10
   const toggleMute = () => {
11
     if (videoRef.current) {
11
     if (videoRef.current) {

Завантаження…
Відмінити
Зберегти