@eluvio/elv-player-js 1.0.65 → 1.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "![Eluvio Logo](src/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
package/src/index.js CHANGED
@@ -644,7 +644,12 @@ export class EluvioPlayer {
644
644
  }
645
645
 
646
646
  if(error.fatal || this.errors === 3) {
647
- this.HardReload(error);
647
+ if(error.response.code === 403) {
648
+ // Not allowed to access
649
+ this.Destroy();
650
+ } else {
651
+ this.HardReload(error);
652
+ }
648
653
  }
649
654
  });
650
655