By default Lemmy currently stretches videos so that they fit the whole horizontal space that’s available.

You can apply this simple override using for example the Stylus extension with Firefox to disable that behavior:

video {
    width: auto !important;
}

This applies for videos and also for GIFs since they are currently converted to MP4 videos by Lemmy anyway.