From 2b6b45fdfb6438d797f44aaf6985fbd3b0b351f5 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Wed, 19 Dec 2018 17:01:38 +0200 Subject: [PATCH] fix error handling in HTMLVideo --- src/routes/Player/Video/stremio-video/HTMLVideo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Player/Video/stremio-video/HTMLVideo.js b/src/routes/Player/Video/stremio-video/HTMLVideo.js index 327b61d74..ebd78d820 100644 --- a/src/routes/Player/Video/stremio-video/HTMLVideo.js +++ b/src/routes/Player/Video/stremio-video/HTMLVideo.js @@ -94,7 +94,7 @@ var HTMLVideo = function(container) { critical: critical }); - if (error.critical) { + if (critical) { self.dispatch('command', 'stop'); } };