Fix video player width not being updated to fit container width (#10069)
This commit is contained in:
parent
f3eb99aec3
commit
3e59a0e838
1 changed files with 0 additions and 1 deletions
|
@ -346,7 +346,6 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue