diff --git a/998d45b0-b0a0-4111-9655-e6e58920bc36TEMP_MPY_wvf_snd.mp3 b/998d45b0-b0a0-4111-9655-e6e58920bc36TEMP_MPY_wvf_snd.mp3 new file mode 100644 index 0000000..fbaabf2 Binary files /dev/null and b/998d45b0-b0a0-4111-9655-e6e58920bc36TEMP_MPY_wvf_snd.mp3 differ diff --git a/Frontend/templates/Frontend/video-editing.html b/Frontend/templates/Frontend/video-editing.html index 2fcfcb2..23e0e6f 100644 --- a/Frontend/templates/Frontend/video-editing.html +++ b/Frontend/templates/Frontend/video-editing.html @@ -73,20 +73,19 @@ - -
-
- - - -
-
-
-
+ +
+
+
+ + + +
+
+
+
- @@ -96,8 +95,8 @@ document.addEventListener("DOMContentLoaded", function() { console.log("----------------DOMContentLoaded------------------------") }); - + + - - + diff --git a/d23f6b79-19b6-4037-bcb2-eb1188f753b6TEMP_MPY_wvf_snd.mp3 b/d23f6b79-19b6-4037-bcb2-eb1188f753b6TEMP_MPY_wvf_snd.mp3 new file mode 100644 index 0000000..f6b9212 Binary files /dev/null and b/d23f6b79-19b6-4037-bcb2-eb1188f753b6TEMP_MPY_wvf_snd.mp3 differ diff --git a/static/css/video-editing.css b/static/css/video-editing.css index 84d6b3e..d8bf8c5 100755 --- a/static/css/video-editing.css +++ b/static/css/video-editing.css @@ -380,13 +380,16 @@ nav ul li a{ #timeline { width: 100%; height: 20%; - margin-top: 20px; + padding: 20px 20px 20px 20px; + margin-top: 10px; background-color: #454c5a; border-radius: 5px; display: flex; align-items: center; justify-content: center; - + clear: both; + position: absolute; + bottom: 0; } #screenshotContainer { diff --git a/static/js/transcript-editing.js b/static/js/transcript-editing.js index 79aef3a..01edf34 100755 --- a/static/js/transcript-editing.js +++ b/static/js/transcript-editing.js @@ -93,6 +93,7 @@ function deleteTranscript() { selectedWordsArr.forEach(element => { console.log(element); timestamps["timestamps"].push([parseFloat(element.getAttribute("data-start")), parseFloat(element.getAttribute("data-stop"))]); + console.log(timestamps); element.remove(); }); diff --git a/static/js/upload-video.js b/static/js/upload-video.js index 51493a1..461a3a3 100755 --- a/static/js/upload-video.js +++ b/static/js/upload-video.js @@ -156,13 +156,14 @@ function transcribeFile(id) { // If the upload feild is gone show the loading bar if (document.getElementById("wrapper").style.display == "none") { + console.log("hidding upload area and starting loading bar") let container = document.getElementById("loading-container"); let fill = document.querySelector(".fill"); let transcript = document.querySelector(".transcript-container").innerHTML; console.log(transcript); - if (document.querySelector(".transcript-container").innerHTML != transcript) { + console.log("loading bar should be showing"); container.style.display = "flex"; console.log(container.style.display); @@ -191,5 +192,6 @@ function transcribeFile(id) { fill.style.width = bar / interval + "%"; } } + } }