Up to version 2.0.3 of the embetty server, the preview image of a youtube video was rendered fine, showing the preview image with the "native" resolution and aspect ratio of the video.
From version 3.0.0 on, it seems that the preview image is forced to a resolution of 480 x 360 px with an aspect ratio of 4:3, which leads to a distorted and low quality preview.
General information
embetty version: 2.0.3 vs. 3.0.0 and up
- Node.js version: image from docker hub
- Operating system name and version: docker
- Browser name and version: chrome, firefox, safari, edge
Steps to reproduce the behaviour
Embed a youtube video for use with embetty, e.g. RvpudFBKUbo
Expected behaviour
The preview image rendered should have a resolution of 1280 x 720 px as with embetty server up to 2.0.3

Actual behaviour
The preview image has a resolution of 480 x 360 px (aspect ratio 4:3) from embetty server starting with version 3.0.0 which leads to a distorted and low resolution up scaled image which looks ugly

Up to version 2.0.3 of the embetty server, the preview image of a youtube video was rendered fine, showing the preview image with the "native" resolution and aspect ratio of the video.
From version 3.0.0 on, it seems that the preview image is forced to a resolution of 480 x 360 px with an aspect ratio of 4:3, which leads to a distorted and low quality preview.
General information
embettyversion: 2.0.3 vs. 3.0.0 and upSteps to reproduce the behaviour
Embed a youtube video for use with embetty, e.g. RvpudFBKUbo
Expected behaviour
The preview image rendered should have a resolution of 1280 x 720 px as with embetty server up to 2.0.3
Actual behaviour
The preview image has a resolution of 480 x 360 px (aspect ratio 4:3) from embetty server starting with version 3.0.0 which leads to a distorted and low resolution up scaled image which looks ugly