memos icon indicating copy to clipboard operation
memos copied to clipboard

Cannot play video on ios Safari

Open repo-ooo opened this issue 7 months ago • 4 comments

Describe the bug

No video can be played on ios safari.

I've tested several video files. Both of them are working good on win11 chrome. Both of them can be directly played via self-hosted HTTP server (e.g., run python -m http.server 80 and access http://localIP/test.mp4 on ios safari)

The videos are uploaded via win11 chrome. I'm sure there's no unexpected converting.

I'm 100% sure that there's some HTTP protocol issues in the golang backend, which makes video in memos incompatible with ios safari.

file used for testing: https://file-examples.com/index.php/sample-video-files/sample-mp4-files/ and some other videos.

seems related to #592, #4206

ios version: 17.2.1, 17.3.1

Steps to reproduce

  1. upload a video via win11 chrome.
  2. play the uploaded video on win11 chrome. It's playable.
  3. play the uploaded video on ios safari. It's unplayable.
  4. run python -m http.server 80 and access http://192.168.x.x/test.mp4 on ios safari. The video file is ok to play.

The version of Memos you're using

v0.24.3

object storage: local filesystem

Screenshots or additional context

Image

repo-ooo avatar May 18 '25 17:05 repo-ooo

I'm having this issue too.

Cadavanaugh avatar May 20 '25 15:05 Cadavanaugh

me too

shinyes avatar May 23 '25 05:05 shinyes

me too

gwpilot04 avatar Jun 10 '25 08:06 gwpilot04

@johnnyjoygh Hi, I'm wondering what "more context" do we need to provide. Is it not reproducible? It's obviously a bug. Do I have to learn golang and detect the bug to the source code line level so that the bug can be considered to solve?

As an open source project, I am not qualified to ask contributors to resolve any issues. But, I've waited for nearly a month, and at least, I expect a direct response. Especially considering the population of iOS devices, and the echo of the above users.

repo-ooo avatar Jun 11 '25 07:06 repo-ooo

The same issue occurs on safari on mac. The error message is useless: In the console this message appears: Failed to load resource: Plug-in handled load. The storage location doesn't matter, the issue occurs on both Database and Filesystem (I didn't try S3). This Stackoverflow issue talks about some solutions, but I don't which solution it could be, if any of them even work.

Meimax avatar Jul 05 '25 19:07 Meimax

Problem still persist — same issue here. Video is only playable on Chrome browsers. iOS & MacOS safari doesn't work, with no error logs in the console, with the closest thing being an error in loading resources (screenshot). No issue on firefox browser.

Image

JothamLEC avatar Jul 07 '25 15:07 JothamLEC