Embed: options.reloadDelay:
- when > an hour, parse as ms; - in dev mode, when options.reloadDelay is set, show the timeouts as normal
This commit is contained in:
parent
12c117e297
commit
be7e44727f
3 changed files with 12 additions and 2 deletions
|
@ -103,6 +103,12 @@ function MistVideo(streamName,options) {
|
|||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
if (options.reloadDelay && (options.reloadDelay > 3600)) {
|
||||
options.reloadDelay /= 1000;
|
||||
this.log("A reloadDelay of more than an hour was set: assuming milliseconds were intended. ReloadDelay is now "+options.reloadDelay+"s");
|
||||
}
|
||||
|
||||
|
||||
new MistSkin(this);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue