Remove redundant check
The constructor ensures that autoplay is false for mobile devices at this point.
This commit is contained in:
+1
-1
@@ -435,7 +435,7 @@ class APlayer {
|
||||
}
|
||||
|
||||
// autoplay
|
||||
if (this.option.autoplay && !this.isMobile) {
|
||||
if (this.option.autoplay) {
|
||||
this.play();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user