On Thu, Apr 26, 2018 at 11:13 AM, Michael Catanzaro <mcatanzaro@igalia.com> wrote:
By fixing the WebKit bug, of course. And in the meantime you can work around it on the server side by not using <img src=mp4>, right?
Consider the other perspective on this problem. If other servers look at the WebKit version in the UA to determine if WebKit supports img src=mp4, other WebKit ports that don't support this are going to be out of luck and get broken pages. I know that's not what you're doing -- you're looking at iOS version instead, and only doing it to work around a specific bug, which is much better -- but the problem of websites sending bad content based on bad user agent parsing is so severe that we don't have many good options, here. :/ Michael