@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 +1 -1
- package/package.json +1 -1
- package/src/index.js +6 -1
package/package-lock.json
CHANGED
package/package.json
CHANGED
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
|
-
|
|
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
|
|