Comments (2)
XHR does not work when serving local files, due to security restrictions. Typically we use a local server to do development.
from preloadjs.
"XHR does not work when serving local files" this is not entirely accurate.
Most browser have the ability to enable this. With Chrome eg. "--allow-file-access-from-files"
It works for most things apart from JSON or scripts that are evaluated.
The files loads:
XHR finished loading: "file://path/to/config.json". preloadjs-NEXT.min.js:12
However queue.getResult(id) returns undefined.
from preloadjs.
Related Issues (20)
- Issue with LoadQueue basePath
- Unable to load images on Android while running the e-learning course on G-cube app HOT 5
- Bug when trying to load unsupported file types (on IE11)
- Mobile loading is very poor, please use with caution
- Files are not loading from manifest when type attribute is present HOT 1
- [FontLoader] If font has "bold" in name, it gets truncated
- npm version - please update?
- png caching issue, even on tag based loading HOT 5
- RequestUtils.getTypeByExtension() and WebM format HOT 2
- LoadQueue() fires multiple times on firefox 69.0.1 HOT 2
- Circular Dependency item._loader = loader;
- Adding 'false' stops progress event from firing!? HOT 20
- Adding 'false' stops progress event from firing!? #267
- How do I store preloaded image blobs in the cache? HOT 2
- Slow Loading Times. HOT 2
- binaryLoader not being called. HOT 5
- LoadQueue gets messed up with duplicate "src" items loaded in other queues HOT 1
- LoadQueue timeouts when tag-loading mp4 videos HOT 1
- Failed to execute 'createObjectURL' on 'URL': Overload resolution failed HOT 1
- Advanced Support for WEBP?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from preloadjs.