Skip to content

Commit

Permalink
Fix YouTube pause guard
Browse files Browse the repository at this point in the history
Missed it in f18792a
  • Loading branch information
cookpete committed Jan 3, 2016
1 parent 6d0503c commit 1f8d372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/players/YouTube.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class YouTube extends Base {
this.player.playVideo()
}
pause () {
if (!this.isReady || this.player.pauseVideo) return
if (!this.isReady || !this.player.pauseVideo) return
this.player.pauseVideo()
}
stop () {
Expand Down

0 comments on commit 1f8d372

Please sign in to comment.