ARTICLE AD BOX
I use JavaFX 26-ea+6 on Ubuntu 20.04 and it seems that WebView can't show webp images. This is my code:
public class TestFx extends Application { @Override public void start(Stage primaryStage) { WebView webView = new WebView(); webView.getEngine().load("https://www.bbc.com"); Scene scene = new Scene(webView, 800, 600); primaryStage.setTitle("BBC Browser"); primaryStage.setScene(scene); primaryStage.show(); } public static void main(String[] args) { launch(args); } }And this is the result:
but generally images are shown as expected, for example youtube:
Is this a bug or WebView can't show webp images?


