fix video defualt height
This commit is contained in:
@@ -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/')) {
|
||||
|
Reference in New Issue
Block a user