E
E
Egor2021-04-21 11:10:54
iOS
Egor, 2021-04-21 11:10:54

MP4 video is not loading on iOS, what could be the problem?

MP4 video not loading on iOS. On Android, Windows and other videos it works fine, on iOS - no)
When I turn on the "controls" function, this picture is visible:
IBsGn2LM.jpg?download=1&name=%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2021-04-2021%2011:10 :35.jpg

The video is set like this:

<div class="video-wrap">
  <video loop="loop" muted="muted" playsinline="" preload="auto" src="/storage/uploads/video_607db789591a4.mp4" type="video/mp4">
     <source src="/storage/uploads/video_607db789591a4.mp4" type="video/mp4">
  </video>
</div>


When I go to the page of the video itself, on Windows like this:
607fdeb671427015778430.jpeg

On an iPhone:
607fded3c49a9513580506.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yuri, 2021-04-21
@cheeroque

mp4 is just a container, look what codec is inside. Most likely, safari simply does not support it.

M
Mirai Shiryoku, 2021-04-21
@Kodoku_Shinto

Try to remove type or check paths

<div class="video-wrap">
  <video loop="loop" muted="muted" playsinline="" preload="auto">
     <source src="/storage/uploads/video_607db789591a4.mp4">
  </video>
</div>

N
Nikolay Mironov, 2021-04-21
@LLlYCTPBl

Try to make a different video format and embed it in source too

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question