Increase upload timeout and other fixes

This commit is contained in:
2021-09-27 14:57:00 +02:00
parent 85a4ca2c9d
commit 268ca6c818
9 changed files with 22 additions and 13 deletions

View File

@@ -8,6 +8,7 @@ function VideoViewer(viewer, file, next) {
this.vidElement = document.createElement("video")
this.vidElement.controls = "controls"
this.vidElement.playsInline = "playsInline"
this.vidElement.classList = "center drop_shadow"
this.vidElement.addEventListener("ended", () => { this.next() }, false)
if (!embeddedViewer) {
@@ -16,6 +17,7 @@ function VideoViewer(viewer, file, next) {
this.videoSource = document.createElement("source")
this.videoSource.src = this.file.get_href
this.videoSource.type = this.file.mime_type
this.vidElement.appendChild(this.videoSource)
this.vidContainer.appendChild(this.vidElement)