aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-06 01:03:38 +1000
committerSam Potts <sam@potts.es>2018-05-06 01:03:38 +1000
commit91a4b86860f8db72dba0cec0c8cb18b93e423d85 (patch)
tree8590992ec393c277dc4e92e85e987d4b3bbddb02 /src/js/plyr.js
parent5aece6fa06d767b8a9be65399cbb53354535bca4 (diff)
downloadplyr-91a4b86860f8db72dba0cec0c8cb18b93e423d85.tar.lz
plyr-91a4b86860f8db72dba0cec0c8cb18b93e423d85.tar.xz
plyr-91a4b86860f8db72dba0cec0c8cb18b93e423d85.zip
Small bug fixes
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index e77a7562..23b1a42b 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
-// plyr.js v3.3.0
+// plyr.js v3.3.2
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
@@ -333,11 +333,6 @@ class Plyr {
return null;
}
- // If ads are enabled, wait for them first
- /* if (this.ads.enabled && !this.ads.initialized) {
- return this.ads.managerPromise.then(() => this.ads.play()).catch(() => this.media.play());
- } */
-
// Return the promise (for HTML5)
return this.media.play();
}