diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-02-17 21:58:02 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-02-18 10:44:37 +0100 |
commit | d974988541237419495e86b534f63259a28d0642 (patch) | |
tree | ee86091da3718637626b1f9e8b9212e580a1ffcb /app/javascript | |
parent | 1aa87a1967b37e9f118b87ee643944798d3c90f4 (diff) |
Fix video player width not being updated to fit container width
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/features/video/index.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index a6f651db6..cf66536c4 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -366,7 +366,6 @@ export default class Video extends React.PureComponent { width = containerWidth; height = containerWidth / (16/9); - playerStyle.width = width; playerStyle.height = height; } else if (inline) { return (<div className={computedClass} ref={this.setPlayerRef} tabindex={0}></div>); |