diff options
author | Eugen <eugen@zeonfederated.com> | 2017-01-08 02:36:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-08 02:36:12 +0100 |
commit | 7a0a13ab53eda1c7ccdfb5176fecd61dcf1ad93f (patch) | |
tree | 94e39d2a1d8bd5dcaf07f0e9ddf3f518c5fa0918 /app/assets | |
parent | cec7e698275f7f3a8d88ddf205a0c04d6adb13cd (diff) | |
parent | 8a571158c92bfc8ba2dde9dd5a237be247cc4b74 (diff) |
Merge pull request #432 from blackle/volume-icon
Show correct volume icons on video player
Diffstat (limited to 'app/assets')
-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> ); |