diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-04-20 16:08:46 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-04-20 16:08:46 +0200 |
commit | e4dff10934e5c5f095a7059404257d5749b0c7d7 (patch) | |
tree | a1169d84885ad0c4cebc13148296b6c42680c24d | |
parent | d55ab8e3e83d4a19005784f9cdbc1fa920cd2f96 (diff) |
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 56ee9c20c..befc83bfe 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} |