Closed bp2008 closed 1 year ago
The workaround has been implemented in UI3-228.
Keeping issue open to monitor for issues with the workaround.
Picture-in-picture still works (in Chrome on Windows), however it is a little odd now because PiP normally suppresses rendering of the regular video element. But now when you zoom in, the UI begins rendering the video in a canvas and it becomes visible again within the UI3 window.
As anticipated, the HTML5 video player no longer keeps the screen alive if it is in canvas rendering mode. As this only happens when you are zoomed in, I'm not too concerned. This will become a non-issue later when https://github.com/bp2008/ui3/issues/124 is handled.
Another issue has cropped up with HTML5 video in Chromium browsers: when fullscreened, digital zoom can't scale up the video larger than the viewport.
I've had enough. I'm going to put the
<video>
element in the background and change the HTML5 player to copy every frame to a<canvas>
for rendering.Side effects are expected:
Related issues: https://github.com/bp2008/ui3/issues/124 https://github.com/bp2008/ui3/issues/130