Thanks
Ashley. The video is encoded correctly and working fine on safari on both desktop and iOS but as soon as you export to iOS it doesn't, so assume it must be some WKwebview limitation. Just tried the chromakey add-on and it works great. Thanks
Funky Koval The edges are soft but I can sharpen this up with Da Vinci Resolve and use a new sharp green screen to tidy it up. The only limitation is you have to turn off WebGPU to run chromakey add-on. Do you think this will this affect performance much?
However, for some reason the performance of all videos is awful when exporting to iOS so again assume this must be wkwebview conflict with the construct platform? The exactly same videos run smoothly when played directly on an iOS device but when played within the construct export they are choppy and screen sometimes even freezes when loading the video source etc throwing the 'wait' timings out of sync.
I made a new basic construct project which pretty much just plays the video and exactly the same thing. I have tried this on a iPhone 16 Pro and also Xcode emulator on a M1 processor MacBook so cannot be a performance issue. I have turned 'worker' mode off and tried multiple AI suggestions but always get choppy low performance video play on iOS export. The same projects are as smooth as butter on desktop. Do you think there is currently some conflict between the construct video object and wkwebview? AI reckons the issue is...
The poor video performance you are seeing inside iOS WKWebView is a known hardware-acceleration bottleneck caused by iOS security policies and Cordova/Capacitor file-protocol handling. When you play a video directly on Safari or a Mac, iOS grants the player direct access to the hardware decoder. However, inside an exported app's WKWebView, the video is loaded via a local file server (file:// or localhost), which bypasses the native video buffering pipeline, forcing the device to fetch, parse, and decode chunks through JavaScript and the isolated WebKit network process.
Any suggestions to make video playback smooth? Is allowsInlineMediaPlayback set to true by default in construct's iOS export? If not could this be an issue? Thanks