From e2112c73c23cd82d87732db37411d0eac261e884 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Tue, 29 Mar 2016 02:44:55 +0300 Subject: [PATCH] Add a timeout --- Plugins/videoSupport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/videoSupport.js b/Plugins/videoSupport.js index 23a34a6..dcdd1f1 100644 --- a/Plugins/videoSupport.js +++ b/Plugins/videoSupport.js @@ -18,7 +18,7 @@ videoSupport.prototype.convert = function () { }; videoSupport.prototype.onMessage = function () { - this.convert(); + setTimeout(this.convert(), 2000); }; videoSupport.prototype.onSwitch = function () { this.convert();