Topic on Extension talk:WebP/Flow

AVIF source should be before WebP source

4
Summary by Octfx

Sources are added based on the transformer order.

Laoweek (talkcontribs)

Hi there, we are testing out the extension and it seems if both AVIF and WebP resources are available, WebP would be the first source element in <picture>. Because of this, AVIF source are not being used at all because if the browser is compatible with AVIF they are certainly compatible with WebP and the first source (WebP) would always be evaluated.

Is there a config I need to switch to change this behavior or is this behavior undefined at the moment? I think this is more related to PictureHtmlSupport rather than WebP extension but posting here as well for visibility.

Thank you so much for this work on the extension and thanks again for the assistance.

Octfx (talkcontribs)
119.18.0.133 (talkcontribs)

Silly me for not reading the readme carefully, thank you for the quick response.

Octfx (talkcontribs)

No worries :)