remotion-dev/remotion



The issue has been closed
`<Gif fit="contain">` does not work #1134
JonnyBurger posted onGitHub
I find this to be wrong:
import {Gif} from '@remotion/gif';
import React from 'react';
import {AbsoluteFill} from 'remotion';
export const Gifs: React.FC = () => {
return (
<AbsoluteFill>
<h1>hi</h1>
<Gif
fit="contain"
style={{
height: 200,
width: 300,
}}
src="https://c.tenor.com/pCcL8OOdEBUAAAAC/gifs-away-gif.gif"
/>
</AbsoluteFill>
);
};
The GIF should be contained, not stretched out