Sets the options for the loader.
The options to set.
The crossOrigin attribute to configure the CORS requests for Image and Video data element.
Enable or disable the nocache mechanism.
Indicates whether or not cross-site Access-Control requests should be made using credentials.
loader
// Set the crossOrigin attribute to "anonymous"me.loader.setOptions({ crossOrigin: "anonymous" });// Enable the nocache mechanismme.loader.setOptions({ nocache: true });// Enable withCredentialsme.loader.setOptions({ withCredentials: true }); Copy
// Set the crossOrigin attribute to "anonymous"me.loader.setOptions({ crossOrigin: "anonymous" });// Enable the nocache mechanismme.loader.setOptions({ nocache: true });// Enable withCredentialsme.loader.setOptions({ withCredentials: true });
Sets the options for the loader.