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