Direkt zum Seiteninhalt
Wikkitube.de
Menü überspringen
Zurück zum Seiteninhalt
App-Icon
Wikkitube Installieren Sie diese Website auf Ihrem Startbildschirm für ein besseres Erlebnis
Tippen Sie auf Installationsschaltfläche auf iOS und dann auf „Zu Ihrem Bildschirm hinzufügen“
v.pause(); v.currentTime = 0; }); document.querySelectorAll("audio").forEach(a=>{ a.pause(); a.currentTime = 0; }); } // erkennt Slide-Wechsel indirekt über Interaktion document.addEventListener("click", function(e){ // Wenn Navigation oder Slider genutzt wird → alles stoppen const nav = e.target.closest("a, .bx-pager, .bx-next, .bx-prev"); if(nav){ stopMedia(); } // Box-Fokus (optional Highlight) document.querySelectorAll(".museum-wrapper").forEach(w=>{ w.classList.remove("is-active"); }); const box = e.target.closest(".museum-wrapper"); if(box){ box.classList.add("is-active"); } }); a.currentTime = 0; }); } // Stoppt Medien bei jeder Benutzeraktion (Navigation / Klick) document.addEventListener("click", function(e){ const nav = e.target.closest(".bx-next, .bx-prev, .bx-pager, a"); if(nav){ stopMedia(); } }); // Extra: Stop bei Tab-Wechsel (sehr wichtig im Museum!) document.addEventListener("visibilitychange", function(){ if(document.hidden){ stopMedia(); } });