Skip to content

Commit

Permalink
fix(FEC-8888): the playback paused when tap on "unmute" button on mob…
Browse files Browse the repository at this point in the history
…ile #345 (#345)

The shell component listens to this event as well, and for some reason the unmute there causes the player to pause.
  • Loading branch information
odedhutzler committed Feb 5, 2019
1 parent 9381303 commit 847eaa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/unmute-indication/unmute-indication.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class UnmuteIndication extends BaseComponent {
onMouseOver={() => this.setState({iconOnly: false})}
onMouseOut={() => this.setState({iconOnly: true})}
onClick={() => (this.player.muted = !this.player.muted)}
onTouchEnd={e => e.stopImmediatePropagation()}
onKeyDown={e => this._keyDownHandler(e)}>
<a className={[style.btn, style.btnDarkTransparent, style.unmuteButton].join(' ')}>
<div className={style.unmuteIconContainer}>
Expand Down

0 comments on commit 847eaa9

Please sign in to comment.