Support for webp in firefox?

A well-known problem that Fox does not support the webp format. How to fix?
June 7th 19 at 15:37
2 answers
June 7th 19 at 15:39
To give a format that supports https://www.sitepoint.com/implementing-cross-brows...
In particular
  • mp4
  • webm
  • ogg

The browser will decide what to take
at the level of the html OK, but if there is a background in css? - reta commented on June 7th 19 at 15:42
Damn, I thought you meant the video, and you about the pictures. About picture XS. Use JPEG and APG until you drop) - Mabel commented on June 7th 19 at 15:45
still have a long time to deliver, but there seems some ways to work around it.. - reta commented on June 7th 19 at 15:48
, https://habrahabr.ru/post/275735/ it is likely you already read and did not help - Mabel commented on June 7th 19 at 15:51
yeah, I read, there is a very informative paragraph that there are three ways to support this format(the Fox) and that's it. - reta commented on June 7th 19 at 15:54
And no one has approached?)) - Mabel commented on June 7th 19 at 15:57
there is only written that they are, there is no description of their application. - reta commented on June 7th 19 at 16:00
the first link had seen, but not yuzala yet, will look later, thanks, in 4 hours already a couple would sleep. - reta commented on June 7th 19 at 16:06
June 7th 19 at 15:41
Very simply "fixed" the background:
https://css-tricks.com/using-webp-images/#article-...
The link - target piece of article on how to "fix" images for backgrounds use the library modernizr polifilo.
Next, go to the library and "build" our polifil - https://modernizr.com/download?webp-setclasses&q=webp
The link is ready, just click Build, download and connect. If it seems confusing, then download the js from the example on codepen.
Yes, will clarify. The fix is not "fixing" the Fox. Only allows you to connect other versions of image to support firefox users. Other browsers will get webp. You thought you were looking for? - reta commented on June 7th 19 at 15:44

Find more questions by tags Mozilla FirefoxImages