Skip to content

Commit bd4426f

Browse files
committed
Remove redundant check
The constructor ensures that autoplay is false for mobile devices at this point.
1 parent c0e8684 commit bd4426f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/APlayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class APlayer {
435435
}
436436

437437
// autoplay
438-
if (this.option.autoplay && !this.isMobile) {
438+
if (this.option.autoplay) {
439439
this.play();
440440
}
441441

0 commit comments

Comments
 (0)