diff options
author | blackle <isabelle@blackle-mori.com> | 2017-01-07 20:21:50 -0500 |
---|---|---|
committer | blackle <isabelle@blackle-mori.com> | 2017-01-07 20:23:15 -0500 |
commit | 8a571158c92bfc8ba2dde9dd5a237be247cc4b74 (patch) | |
tree | bb5557ad1fcb19d4cb7e7b598f8fe14bff748e2c | |
parent | 679aa35e152d690ab8460d8c819c9496b2061ed8 (diff) |
Show correct volume icons on video player
-rw-r--r-- | app/assets/javascripts/components/components/video_player.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/video_player.jsx b/app/assets/javascripts/components/components/video_player.jsx index 8f64ad3cd..bd6e746ef 100644 --- a/app/assets/javascripts/components/components/video_player.jsx +++ b/app/assets/javascripts/components/components/video_player.jsx @@ -113,7 +113,7 @@ const VideoPlayer = React.createClass({ return ( <div style={{ cursor: 'default', marginTop: '8px', overflow: 'hidden', width: `${width}px`, height: `${height}px`, boxSizing: 'border-box', background: '#000', position: 'relative' }}> - <div style={muteStyle}><IconButton title={intl.formatMessage(messages.toggle_sound)} icon={this.state.muted ? 'volume-up' : 'volume-off'} onClick={this.handleClick} /></div> + <div style={muteStyle}><IconButton title={intl.formatMessage(messages.toggle_sound)} icon={this.state.muted ? 'volume-off' : 'volume-up'} onClick={this.handleClick} /></div> <video src={media.get('url')} autoPlay='true' loop={true} muted={this.state.muted} style={videoStyle} onClick={this.handleVideoClick} /> </div> ); |