Increase upload timeout and other fixes
This commit is contained in:
1 parent
85a4ca2c9d
commit
268ca6c818
9 files changed
+22
-13
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user