Enforced landscape thumbnail shows badly on smartphone
Describe the current behavior
Even if a video is in portrait aspect ratio the web UI still wants a landscape thumbnail, recommending 1280x720 and to the point that using the "select frame from video" ends up stretching that frame to the recommended resolution, effectively changing its aspect ratio (this one would need a second ticket probably).
In any case, once you have your landscape thumbnail (uploaded to make it look nice), that thumbnail is cropped to be of the video aspect ratio, when visiting the video page from an smartphone.
This ticket is to request it's instead scaled down and added black padding above and below, so it's till fully visible.
This is an example video where I'm struggling with this: https://makertube.net/w/rWdSaW3XkxsEyp1BvcHCct
Steps to reproduce
- Publish a portrait aspect video
- Upload a landscape thumbnail as recommended
- Visit the video URL from a smartphone
Describe the expected behavior
I'd expect the thumbnail to be fully visible
Additional information
PeerTube instance:
- URL: https://makertube.net
- Version: 7.3.0
- NodeJS version: N/A
- Ffmpeg version: N/A
Browser name, version and platforms on which you could reproduce the bug: Firefox on Android 11
Link to browser console log if relevant:
Link to server log if relevant (
journalctlor/var/www/peertube/storage/logs/):
Source: Chocobozzz/PeerTube