Skip to content

Commit

Permalink
fix(FEC-8799): video not unmuted by tapping on player or seek by drag…
Browse files Browse the repository at this point in the history
…ging (#325)

handle `fallbackToMutedAutoPlay` in `onTouchEnd` also
  • Loading branch information
yairans committed Dec 31, 2018
1 parent 67c380a commit d450914
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/shell/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ class Shell extends BaseComponent {
if (this.props.prePlayback) {
return;
}
if (this.props.fallbackToMutedAutoPlay) {
this.player.muted = false;
}
if (!this.state.hover) {
e.stopPropagation();
}
Expand Down

0 comments on commit d450914

Please sign in to comment.