place-2022 icon indicating copy to clipboard operation
place-2022 copied to clipboard

Video doesn't work in Safari

Open nskobelevs opened this issue 2 years ago • 10 comments

As usual, Safari is behind other browsers - it currently doesn't support .webm videos so your website just has the gray background when viewed on Safari.

Minuscule but thought you might want to know!

nskobelevs avatar Apr 07 '22 21:04 nskobelevs

Hey, thanks, Ill get on it. Is this mac or mobile safari?

ProstoSanja avatar Apr 07 '22 22:04 ProstoSanja

Neither work unfortunately.

Can I use says partial support on desktop with a minimum version. I updated mine recently enough but I'll double check versions tomorrow.

I'd say easiest fix might be to add multiple sources to the video tag?

nskobelevs avatar Apr 07 '22 22:04 nskobelevs

yeah, That's what ill do

ProstoSanja avatar Apr 07 '22 23:04 ProstoSanja

will have to wait until tomorrow

ProstoSanja avatar Apr 07 '22 23:04 ProstoSanja

MacOS 12.3 - Safari 15.4 iOS 15.4.1 - Safari 15.4

TIL iOS safari version always matches the iOS version since it's part of the OS

nskobelevs avatar Apr 08 '22 06:04 nskobelevs

Should be fixed in 5224d92, and deployed within hour

ProstoSanja avatar Apr 08 '22 12:04 ProstoSanja

Just double checked there and sadly still not showing. I ended up cloning the repo since it was weird that is wasn't loading.

It works if the mp4 source is first but that kinda defeats the purpose of having a webm one in the first place.

My guess is because Safari technically has partial support it doesn't ignore the webm source and still tries to play it even if it can't

nskobelevs avatar Apr 09 '22 18:04 nskobelevs

I will investigate

ProstoSanja avatar Apr 10 '22 23:04 ProstoSanja

Lemme know if you want me to test anything locally before you deploy it!

nskobelevs avatar Apr 11 '22 06:04 nskobelevs

Weirdly, now it works in mobile Safari but not Desktop 🤔 Would expect them to at least be consistent

nskobelevs avatar Apr 20 '22 22:04 nskobelevs