diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2018-04-22 12:09:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-22 12:09:11 -0400 |
commit | cd5728b17639c9ff25cb51edc74142b1ebc17bf9 (patch) | |
tree | e243cb6a5e02accb8528cc5b811f0bab270600c5 | |
parent | 6fb610f86584c7eaf146922bbc24f8d14da04e33 (diff) | |
parent | e4dff10934e5c5f095a7059404257d5749b0c7d7 (diff) |
Merge pull request #434 from ThibG/glitch-soc/fixes/public-inline-video
Fix video player on toot public views
-rw-r--r-- | app/javascript/flavours/glitch/features/video/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 4cb5db7f5..8c6d68dc4 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -271,7 +271,7 @@ export default class Video extends React.PureComponent { } return ( - <div className={classNames('video-player', { inactive: !revealed, detailed, inline: width && height && !fullscreen, fullscreen, letterbox, 'full-width': fullwidth })} style={playerStyle} ref={this.setPlayerRef} onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave}> + <div className={classNames('video-player', { inactive: !revealed, detailed, inline: inline && !fullscreen, fullscreen, letterbox, 'full-width': fullwidth })} style={playerStyle} ref={this.setPlayerRef} onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave}> <video ref={this.setVideoRef} src={src} |