Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transcoded videos don’t play any more in Mac Safari #10814

Closed
1 of 3 tasks
Str1atum opened this issue Jul 3, 2024 · 14 comments · Fixed by #13242
Closed
1 of 3 tasks

Transcoded videos don’t play any more in Mac Safari #10814

Str1atum opened this issue Jul 3, 2024 · 14 comments · Fixed by #13242

Comments

@Str1atum
Copy link

Str1atum commented Jul 3, 2024

The bug

Since 1.107 the recoded videos don’t play in Mac Safari 17.5 any more.
File itself is loaded and can be downloaded, but it is not playable. Chrome on same machine works fine.

The OS that Immich Server is running on

Ubuntu 24.04

Version of Immich Server

1.107.2

Version of Immich Mobile App

1.107.2

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Standard

Your .env content

Standard

Reproduction steps

1. Open a video in Mac Safari
2.
3.
...

Relevant log output

No response

Additional information

No response

@alextran1502
Copy link
Contributor

Do you use iOS 18? Do older videos work, or just newly updated ones?

@mmomjian
Copy link
Contributor

mmomjian commented Jul 3, 2024

How are you connecting? Using any proxy?

@Str1atum
Copy link
Author

Str1atum commented Jul 3, 2024

Do you use iOS 18? Do older videos work, or just newly updated ones?

Just on Mac, iOS works fine. All videos affected.

@Str1atum
Copy link
Author

Str1atum commented Jul 3, 2024

How are you connecting? Using any proxy?

Traefik 3.0.4 with let’s encrypt certificate

@mmomjian
Copy link
Contributor

mmomjian commented Jul 3, 2024

Please connect directly to ipaddress:2283

@Str1atum
Copy link
Author

Str1atum commented Jul 3, 2024

Please connect directly to ipaddress:2283

tried that and disabled Traefik - direct connect with only HTTP - still the same error, just a spinning wheel and the video doesn't play.

@elisiariocouto
Copy link

I'm having the same issue. Safari 18.0 on macOS 15 Developer Beta 2. Cloudflare Proxy + Caddy. If I copy the video URL and open it in a new tab, it works. In Safari's developer tools, I can see some 206 but with an error color:
Screenshot 2024-07-04 at 19 55 36

Seems like the same behaviour as #1197

@EliasMarine
Copy link

EliasMarine commented Jul 7, 2024

I am having the same issue, running immich v1.107.2 on Unraid v6.12.10, Safari version 17.5 (19618.2.12.11.6) and macOS Sonoma 14.5.

When previewing the thumbnail in safari, the video plays fine.

No playback issues using Brave/chrome browsers.

@rmohns
Copy link

rmohns commented Jul 31, 2024

Same experience here, but it's ANY WebKit-based Mac browser. Thumbnails play, but the viewer/detail view hangs up with a spinner. If I click it the poster image is replaced with a black screen. I get the same behavior on Safari, Orion and iCab.

  • Immich v1.111.0
  • MacOS version 14.5 (23F79)
  • Browsers affected:
    • Safari version 17.5 (19618.2.12.11.6)
    • Orion version 0.99.128.1-beta (WebKit 619.1.11.111.2)
    • iCab version 6.2.3
  • Browsers not affected:
    • Arc version 1.53.1 (52180) (Chromium Engine Version 127.0.6533.73)
    • Firefox 128.0.3

I do NOT see this behavior in iOS browsers, including Safari and iCab Mobile; video plays fine. I'm running iOS 17.5.1. Mac M2 Pro. So it sure does look like a Mac WebKit problem.

(Requests that I just use Chrome will be mocked ;) The Internet Explorer monoculture of the '00s was awful. The emerging Chrome monoculture of the '20s is not going to be better.)

@rmohns
Copy link

rmohns commented Aug 14, 2024

Problem still exists in v1.112

@rllynch
Copy link

rllynch commented Aug 18, 2024

I'm experiencing the same issue - thumbnails play but I get the spinner trying to view any videos with:

  • Immich v1.112.1
  • MacOS version 14.5
  • Safari 17.5 (19618.2.12.11.6)

The following browsers on the same Mac can successfully play videos:

  • Firefox 129.0.1
  • Chrome 125.0.6422.77

It also plays successfully on iOS 17.5.1 Safari and the iOS Immich app (1.112.1 build.169).

@peremenov
Copy link

peremenov commented Sep 13, 2024

Also confirming on Immich v1.115.0, the issue is still there

@3zero2
Copy link

3zero2 commented Oct 7, 2024

Following as this is happening to me as well on v1.117.0

@rmohns
Copy link

rmohns commented Oct 10, 2024

Thank you for fixing this! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants