fix video defualt height

This commit is contained in:
MathMan05 2024-08-17 13:14:48 -05:00
parent d4a193119d
commit e31ad384bd
2 changed files with 8 additions and 0 deletions

View file

@ -61,6 +61,10 @@ class File {
video.append(source);
source.type = this.content_type;
video.controls = !temp;
if (this.width) {
video.width = this.width;
video.height = this.height;
}
return video;
}
else if (this.content_type.startsWith('audio/')) {