about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-08 02:36:12 +0100
committerGitHub <noreply@github.com>2017-01-08 02:36:12 +0100
commit7a0a13ab53eda1c7ccdfb5176fecd61dcf1ad93f (patch)
tree94e39d2a1d8bd5dcaf07f0e9ddf3f518c5fa0918
parentcec7e698275f7f3a8d88ddf205a0c04d6adb13cd (diff)
parent8a571158c92bfc8ba2dde9dd5a237be247cc4b74 (diff)
Merge pull request #432 from blackle/volume-icon
Show correct volume icons on video player
-rw-r--r--app/assets/javascripts/components/components/video_player.jsx2
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>
     );