Skip to content

Commit

Permalink
correct
Browse files Browse the repository at this point in the history
  • Loading branch information
范丞德 committed Oct 19, 2024
1 parent 7e8f55a commit 8e2d2e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spectromotion/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ function selectCompVideo(methodPill, scenePill, n_views, modePill) {
}

function selectCompVideoAblation(methodPillAblation) {
// Your existing logic for video selection
// var video = document.getElementById("compVideo");
select = true;
var videoSwitch = document.getElementById("compVideoSwitch");
var viewNum = document.getElementById("compVideoValue");
Expand All @@ -79,9 +77,9 @@ function selectCompVideoAblation(methodPillAblation) {

activeMethodPillAblation = methodPillAblation;
methodPillAblation.classList.add("active");
method = methodPillAblation.getAttribute("data-value");
var method = methodPillAblation.getAttribute("data-value");

var video_active = document.getElementById("compVideo");
video_active.src = "videos/comparison/" + method + "_vs_ours_rgb.mp4";
video_active.load();

}

0 comments on commit 8e2d2e9

Please sign in to comment.