From: Thibaut Girka Date: Sun, 17 Feb 2019 20:58:02 +0000 (+0100) Subject: Fix video player width not being updated to fit container width X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=d974988541237419495e86b534f63259a28d0642;p=mastodon.git Fix video player width not being updated to fit container width --- 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 (
);