Increase thumbnail size
This commit is contained in:
parent
8d99f36aad
commit
7d48812639
2 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue