Add a timeout
This commit is contained in:
parent
3dcacb5199
commit
e2112c73c2
|
@ -18,7 +18,7 @@ videoSupport.prototype.convert = function () {
|
|||
};
|
||||
|
||||
videoSupport.prototype.onMessage = function () {
|
||||
this.convert();
|
||||
setTimeout(this.convert(), 2000);
|
||||
};
|
||||
videoSupport.prototype.onSwitch = function () {
|
||||
this.convert();
|
||||
|
|
Loading…
Reference in New Issue