diff options
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r-- | src/js/plyr.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js index 3c98dc26..2daedeac 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -310,11 +310,12 @@ class Plyr { */ play() { if (this.ads) { - this.ads.playAds(); - return this; + this.ads.play(); } - return this.media.play(); + if (!this.ads.playing) { + return this.media.play(); + } } /** |