From bd4426ff2b3549beabf7ac768f64d0727c11f6cc Mon Sep 17 00:00:00 2001 From: Eric Robinson Date: Tue, 12 Dec 2017 13:11:12 -0500 Subject: [PATCH] Remove redundant check The constructor ensures that autoplay is false for mobile devices at this point. --- src/APlayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/APlayer.js b/src/APlayer.js index 68050d2..c39d103 100644 --- a/src/APlayer.js +++ b/src/APlayer.js @@ -435,7 +435,7 @@ class APlayer { } // autoplay - if (this.option.autoplay && !this.isMobile) { + if (this.option.autoplay) { this.play(); }