isWebpSupported returns false in Firefox 70
Closed this issue · 2 comments
EliteMasterEric commented
Firefox is stated to have officially implemented support for WebP images in Firefox 65, and yet in Firefox 70.0.1 this library fails to detect support.
A CodeSandbox for demonstration
This CodeSandbox displays No on Firefox 70.0.1 but displays Yes on Chrome 78.0.3904.97.
The release notes for WebP support
Not that this issue also occurs in a similar library indicating that this may be a browser problem.
EDIT: I found a snippet from OurCodeWorld, which I added to the CodeSandbox, which does return the correct response.
EliteMasterEric commented
Still an issue a year later.
EliteMasterEric commented
Just quickly checked and on Firefox 110.0.1, the CodeSandbox works. Either this repo or Firefox fixed the issue.