Increase thumbnail size

This commit is contained in:
N-Pex 2025-08-27 16:08:52 +02:00
parent 8d99f36aad
commit 7d48812639
2 changed files with 4 additions and 4 deletions

View file

@ -138,8 +138,8 @@ export class AttachmentManager {
try {
let canvas: HTMLCanvasElement = document.createElement("canvas");
canvas.width = 320;
canvas.height = 240;
canvas.width = 640;
canvas.height = 480;
let video: HTMLVideoElement = document.createElement("video");
video.addEventListener("loadedmetadata", function () {
if (video.videoWidth > THUMBNAIL_MAX_WIDTH || video.videoHeight > THUMBNAIL_MAX_HEIGHT) {