W
W
webhero2019-11-11 06:18:40
Search Engine Optimization
webhero, 2019-11-11 06:18:40

How to use webP on iOS devices?

Does not display webP on iPhones, everything is fine in browsers
I used this option

<picture>
  <source srcset="opera.webp" type="image/webp">
  <img src="opera.jpg" alt="The Oslo Opera House">
</picture>

but it loads exactly png/jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ilya Beloborodov, 2019-11-11
@kowap

everything except safari does not support. so you can switch to this technology =)
https://caniuse.com/#search=webp

D
dollar, 2019-11-11
@dollar

What for?
Too many devices don't support webp.
So it's too early to actively switch to this technology.

O
Otrivin, 2019-11-11
@Otrivin

Probably safari doesn't support webp. For these cases, a fallback was developed in the form of a picture with the original format.
On iPhones, some third-party browser, such as chrome, will probably load the webp

V
Vladimir Sergienko, 2021-03-25
@aixman

Now iPhone Safari can webp.
They write that they added it back at the end of 2020 on version 14 of iOS and
now the iPhone is being updated and only on older models (that cannot be updated) webp will not be supported.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question