Fix video player width not being updated to fit container width

main
Thibaut Girka 2019-02-17 21:58:02 +01:00 committed by ThibG
parent 1aa87a1967
commit d974988541
1 changed files with 0 additions and 1 deletions

View File

@ -366,7 +366,6 @@ export default class Video extends React.PureComponent {
width = containerWidth; width = containerWidth;
height = containerWidth / (16/9); height = containerWidth / (16/9);
playerStyle.width = width;
playerStyle.height = height; playerStyle.height = height;
} else if (inline) { } else if (inline) {
return (<div className={computedClass} ref={this.setPlayerRef} tabindex={0}></div>); return (<div className={computedClass} ref={this.setPlayerRef} tabindex={0}></div>);