Compare commits

..

2 commits

Author SHA1 Message Date
fd9cd4f3fd
fix dead links in introduction 2025-06-18 23:59:16 -07:00
c0d295c289
fix the video showcase
Please be fixed this time
2025-06-18 23:59:15 -07:00

View file

@ -76,7 +76,6 @@ const videos = [
} }
function setActiveVideo(index: number) { function setActiveVideo(index: number) {
console.log("setActive", index);
currentVideo?.pause(); currentVideo?.pause();
currentVideoIndex = index; currentVideoIndex = index;
@ -113,7 +112,6 @@ const videos = [
observer.observe(video); observer.observe(video);
video.addEventListener("ended", () => { video.addEventListener("ended", () => {
console.log("video ended", "duration", video.duration, "ctime", video.currentTime);
// The "ended" event might just mean its buffering. // The "ended" event might just mean its buffering.
if (video == currentVideo && video.duration !== 0 && video.currentTime === video.duration) { if (video == currentVideo && video.duration !== 0 && video.currentTime === video.duration) {
offsetCarousel(1); offsetCarousel(1);