mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Fixed an error in checkBoxes function and uploadContainer "drop" listener regarding file path testing
This commit is contained in:
@@ -24,7 +24,7 @@ function checkBoxes() {
|
||||
if(isChecked){
|
||||
//Code to submit the video
|
||||
var pathTest = fileName.textContent + "";
|
||||
if(pathTest.endsWith(".mp4", ".mov", ".avi", ".mkv")){
|
||||
if(pathTest.endsWith(".mp4") || holdy.endsWith(".mov") || holdy.endsWith(".avi") || holdy.endsWith( ".mkv")){
|
||||
mapFunctions.get("extraction-video-to-audio").function({inputVideoPath: pathTest, outputType:"wav"});
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user