You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Jussi,
I'm having an issue with the preloader where it seems to fail to create a .dom property on some select files after a certain point.
This didn't show up in my initial testing of it as it appeared to work fine for 10~ items to preload (a mix of images, mp3s and videos) but when I scaled up to about 100 files, inside the finish callback, loader.getFiles() started returning undefined for anywhere between 4-10 files (it varies between page refreshes).
Again this is due to not having a .dom property so getFile() can't match the file (despite it existing in the files array).
The files failing to load are a few mp3 and png files in this case.
Have you ever come across this behaviour?
The text was updated successfully, but these errors were encountered:
I haven't noticed this sort of behaviour before. Do you have a test case page somewhere I could try to see what's going on? Also, is this on all browsers or some specific one, e.g. Chrome?
I do get it all the time actually. Using FF 40.0 on Ubuntu.
Only added JPG. Removing the .dom works fine, returning the whole object. When inspecting it in Firebug it has definitely a .dom .
Really sorry for neglecting this library - I haven't had the time to maintain it recently. :/ I suggest taking a look at alternatives such as pxloader that are more actively maintained and well battle-tested. :)
EDIT: that said, I will continue to review/merge incoming PRs and would be happy to give ownership to anyone willing to keep the project alive.
Hi Jussi,
I'm having an issue with the preloader where it seems to fail to create a .dom property on some select files after a certain point.
This didn't show up in my initial testing of it as it appeared to work fine for 10~ items to preload (a mix of images, mp3s and videos) but when I scaled up to about 100 files, inside the finish callback, loader.getFiles() started returning undefined for anywhere between 4-10 files (it varies between page refreshes).
Again this is due to not having a .dom property so getFile() can't match the file (despite it existing in the files array).
The files failing to load are a few mp3 and png files in this case.
Have you ever come across this behaviour?
The text was updated successfully, but these errors were encountered: