Fix video player width not being updated to fit container width

This commit is contained in:
Thibaut Girka 2019-02-17 21:58:02 +01:00 committed by ThibG
parent 45768b3b9d
commit 2bf47542f3

View file

@ -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>);