[Webkit-unassigned] [Bug 179417] HLS WebGL video textures black rendering since IOS 11

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 18 20:43:06 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=179417

--- Comment #50 from Daniel Rossi <electroteque at gmail.com> ---
You need to update things on rendition resize events. here is mine. I've let others know also. It will stop the black rendering on startup for me. 

 video.addEventListener("resize", () => {
                vrVideo.update();
                vrVideo.fullScreenResize(player.isFullscreen);
});

within update I have

this.video.width = MathUtils.ceilPowerOfTwo(this.video.videoWidth);
        this.video.height = MathUtils.ceilPowerOfTwo(this.video.videoHeight);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201219/4a3a3dcb/attachment.htm>


More information about the webkit-unassigned mailing list