Home:ALL Converter>Plug-in handled load WebKitErrorDomain 204 error on WKWebView below iOS 15

Plug-in handled load WebKitErrorDomain 204 error on WKWebView below iOS 15

Ask Time:2022-03-24T18:20:02         Author:neo

Json Formatter

I am loading some URL to WKWebView, for instance, https://example.com/123123/example.mp4.

The URL points to video. Above iOS 15, everything is fine, video is playing on WKWebView. But below iOS 15, there is an error WebKitErrorDomain=204, Plug-in handled. load. I got it from didFailNavigationWithError method. WKWebview shows just disabled play icon.

I tried to open my link on Safari on Mac. It couldn't play that video. Chrome could.

I tried to open my link on Safari below iOS 15. It couldn't play that video. On iOS 15 is everything ok.

What can be the reason for this error? How to fix it? I found other questions about this topic on SO, but none of them helped.

Author:neo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/71600630/plug-in-handled-load-webkiterrordomain-204-error-on-wkwebview-below-ios-15
yy