Newer versions of Phaser (3.60 and on) seem to be dropping video frames when opening my phaser project in an Android app’s WebView. In other words, if I try to open my project, which is hosted online, from within an Android app I am see video frames consistently dropped. Any idea why this is happening?
Video resolution: 480x360 Video size: 529KB Android:15
To test I am using this WebView Testing app, which just allows you to open a URL within Android.
I’ve tried roll back the to version 3.55 in my package.json, install again but still got the same result, it’s looks like video is very lagging in Android app (web view)
@T0ruKun I’ve been using 3.55 without issue thus far. You can add Video DOM Element or even convert the video to a sprite sheet if you’re stuck. How are you testing it?
New Feature - Video Game Object
…
The VideoFile Loader File Type now does nothing more than inject a simple small object to the Video Cache. Previously, it would create a Video DOM Element, try to load it as a blob and all kinds of other things. This lead to lots of errors, especially when loading multiple videos at the same time (as the browser would run out of Video elements to use). Under v3.60 each Video Game Object is responsible for its own unique Video DOM element, allowing for much better control and reliability.
Video Game Object Bug Fixes
…
The Loader would intermittently not finish loading a video file. This often happened if you queued too many videos at once. Under v3.60 Videos are no longer preloaded at all, instead the Video Game Object manages all of this, meaning this issue no longer happens. Fix #4910
The language here is confusing, “Under v3.60” suggests versions before v3.60 but I believe the documentation is referring to v3.60.
In my Android test case, text renders onscreen as expected, but video frames consistently drop. To me this suggests the video is not buffered correctly.