Skip to content

Commit 1f8d372

Browse files
committed
Fix YouTube pause guard
Missed it in f18792a
1 parent 6d0503c commit 1f8d372

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/players/YouTube.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default class YouTube extends Base {
8181
this.player.playVideo()
8282
}
8383
pause () {
84-
if (!this.isReady || this.player.pauseVideo) return
84+
if (!this.isReady || !this.player.pauseVideo) return
8585
this.player.pauseVideo()
8686
}
8787
stop () {

0 commit comments

Comments
 (0)