I’m trying to play a video in an HTMLViewer on a Raspberry Pi 5 and am getting 1-2 fps.
The same video plays fine (30 fps) in Chromium, or even in WebKitGTK’s own MiniBrowser, which is using the same WebKitGTK engine that the HTMLViewer is using.
Has anyone seen this before or know any workarounds?
After a bit more testing, it’s not a Xojo issue. It’s WebKitGTK’s video presentation/compositing path.
It seems when it runs in a small window the video runs fine. When the browser area is stretched larger then it runs proportionately worse. Unfortunately for my application it needs to be full screen.
I think it could be related to this regression on Trixie WebKit 2.52. I’m going to try to patch it myself but if I find I’m spending too much time on it I’ll move on to another solution.
It works flawlessly in Chromium, so I may need to write a python/chromium translation layer to handle my executeInXojo function calls.