-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoaderPlugin: video: Intermittently does not finish loading #4910
Comments
I can make this reproduce on desktop if I add 4 videos to preload and have them all stream load (i.e. non-binary load) |
I am also seeing loader hangs with video content on Phaser 3.50-beta9. Haven't done a thorough test across various devices but seems worst on ios. |
Everything is worse on iOS :) I've not touched Video at all in 3.50, so I don't expect any changes to surface yet. |
i make the same question in this,video in Wechat can't playing |
I'm seeing the same issues when loading a series of mp4s in v3.21, and was wondering if there was any update, please. Thanks! |
If there was an update it would have been mentioned here I’m afraid. Audio and video will be redone fully next year. |
Just as an update if anyone finds a similar issue in the future. Reducing the number of loader connections down to 1 so files load in serial rather than parallel and then loading the videos as blobs seems to work most of the time on all my devices. I'm not really sure why this works, but I'm not asking too many questions and calling it a Christmas miracle. Thanks for the brilliant framework! |
I’m not sure this got any update, but I would be happy to try out a new build or something. I’m having similar issues with loading a project with videos. Edit: I have videos playing okay now, may have just been my configuration. |
The Video Game Object has been fully recoded in v3.60 and now works very differently from before, and this bug is finally no longer present in the testing we've done. |
Thanks for fixing! |
Yes, Thank you @photonstorm |
Version
Description
The game seems to intermittently hang inside of
preload
after athis.load.video
call is added to the LoaderPlugin queue.Checking the
this.load.inflight
value, the entries only seem to contain the.mp4
file that never seems to complete loading.This only seems to reproduce on iOS Safari devices so far, but I haven't done extensive device testing. It doesn't ever seem to reproduce on my desktop browsers or Android Chrome.
Example Test Code
This reproduces using the Phaser 3 "Play Video" example (it is intermittent and does not seem to reproduce every refresh).
https://phaser.io/examples/v3/view/game-objects/video/play-video
Notes:
FILE_LOAD_ERROR
event be triggered if it does timeout?The text was updated successfully, but these errors were encountered: