NEW 192400
Inline video stops working when WebGL is used on iPhone X
https://bugs.webkit.org/show_bug.cgi?id=192400
Summary Inline video stops working when WebGL is used on iPhone X
Larry Lin
Reported 2018-12-05 07:16:04 PST
A very wired issue with inline video in WebView(also on Safari) with autoplay flags all set. I use Three.js(which uses WebGL) to render the inline video textures in 3D space, it works fine on Chrome, Safari on Mac, and IPhone 6s(IOS 12.1), but got wired issue on IPhoneX(IOS 12.1). By digging into this, the issues seems to be: If there're calls in WebGL: The inline video element that is loading will stop loading until a click on screen, or re-orientate the phone. The inline video texture is not able to update to WebGl when using `texImage2D`(it keeps black, while the video element itself is playing well), only get updated until a click on screen, or re-orientate the phone. The inline video texture is not firing "ended" event until a click on screen, or re-orientate the phone.
Attachments
Radar WebKit Bug Importer
Comment 1 2018-12-05 10:44:47 PST
Jon Lee
Comment 2 2018-12-05 12:46:27 PST
Is this a regression against older iOS?
Larry Lin
Comment 3 2018-12-05 15:44:24 PST
Iphone6 with same OS(12.1) works just fine
Larry Lin
Comment 4 2018-12-12 06:49:34 PST
Any update on this?
Jer Noble
Comment 5 2018-12-12 09:16:39 PST
Larry, do you have a publicly available reproduction case we can link to?
Note You need to log in before you can comment on or make changes to this bug.