anto
This commit is contained in:
@@ -21,6 +21,11 @@ document.addEventListener("DOMContentLoaded", async () => {
|
||||
const durationInput = document.getElementById('duration');
|
||||
const tableImage = document.getElementById("content1");
|
||||
const numberBoard = document.getElementById('number-board');
|
||||
// Add event listeners for the "Début" and "Fin" input fields
|
||||
const firstInput = document.getElementById('first');
|
||||
const lastInput = document.getElementById('last');
|
||||
|
||||
|
||||
let selectedNumbers = [];
|
||||
|
||||
choiceSelect.addEventListener('change', toggleContainers);
|
||||
@@ -37,9 +42,6 @@ document.addEventListener("DOMContentLoaded", async () => {
|
||||
document.getElementById("projets").addEventListener("click", navigateToProjects);
|
||||
document.getElementById("toggle-view").addEventListener("click", toggleView);
|
||||
|
||||
// Add event listeners for the "Début" and "Fin" input fields
|
||||
const firstInput = document.getElementById('first');
|
||||
const lastInput = document.getElementById('last');
|
||||
|
||||
firstInput.addEventListener('input', updateRange);
|
||||
lastInput.addEventListener('input', updateRange);
|
||||
@@ -96,7 +98,6 @@ document.addEventListener("DOMContentLoaded", async () => {
|
||||
function hideForm() {
|
||||
formContainer.style.display = 'none';
|
||||
}
|
||||
|
||||
function incrementDuration() {
|
||||
durationInput.value = parseInt(durationInput.value) + 1;
|
||||
}
|
||||
@@ -233,7 +234,7 @@ async function generateViewMetric(projectId) {
|
||||
samples = JSON.parse(currentVideoDatas[0]["measurement_ids"]);
|
||||
videoPlaceHolder.innerHTML=`
|
||||
<video width="600" controls>
|
||||
<source src="https://timelapse.kerboul.me/api/cat" type="video/mp4">
|
||||
<source src="${api_url}/videos/file/${videoId}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>`
|
||||
tempoMeasure=filterAndSortMeasurementsByNumber(measurements, samples)
|
||||
|
||||
Reference in New Issue
Block a user