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