diff options
author | Sam Potts <sam@potts.es> | 2018-03-03 23:06:12 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-03-03 23:06:12 +1100 |
commit | 317b08c703c94c5ce0e1d53603f4e1c9842df249 (patch) | |
tree | 95cff2aacd5068bc029cde2c89355e1fd9847bdb /src/js/plugins/ads.js | |
parent | bfb550b8d0be3b4eeb0fc900f26e8c1cb05419fd (diff) | |
download | plyr-317b08c703c94c5ce0e1d53603f4e1c9842df249.tar.lz plyr-317b08c703c94c5ce0e1d53603f4e1c9842df249.tar.xz plyr-317b08c703c94c5ce0e1d53603f4e1c9842df249.zip |
Ready event fix, YouTube play event fix, docs update
Diffstat (limited to 'src/js/plugins/ads.js')
-rw-r--r-- | src/js/plugins/ads.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/plugins/ads.js b/src/js/plugins/ads.js index 72fd49d8..eee03752 100644 --- a/src/js/plugins/ads.js +++ b/src/js/plugins/ads.js @@ -553,7 +553,7 @@ class Ads { startSafetyTimer(time, from) { this.player.debug.log(`Safety timer invoked from: ${from}`); - this.safetyTimer = window.setTimeout(() => { + this.safetyTimer = setTimeout(() => { this.cancel(); this.clearSafetyTimer('startSafetyTimer()'); }, time); |