Compare commits

..

No commits in common. "c9fc9451ee9148bd72531131813758d3f54eecdc" and "35be3f88537290738595d8806f7adf467dee2d57" have entirely different histories.

4 changed files with 1 additions and 11 deletions

1
.gitattributes vendored
View file

@ -1 +0,0 @@
public/empty.mp3 filter=lfs diff=lfs merge=lfs -text

View file

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98875890b2f83542ccc5a791c22669b7372ea3bde7349d284feb3d937dce3d95
size 4412

View file

@ -32,7 +32,7 @@ export default defineComponent({
// Use the global audio loading queue to throttle concurrent loads // Use the global audio loading queue to throttle concurrent loads
const preloadAudio = (src: string) => { const preloadAudio = (src: string) => {
console.debug(`[AUDIOAREA] Queueing audio for preload: ${src}`); console.debug(`[AUDIOAREA] Queueing audio for preload: ${src}`);
audioSrc.value = "empty.mp3"; audioSrc.value = "";
queueAudioForLoading( queueAudioForLoading(
src, src,

View file

@ -107,7 +107,6 @@ export default defineComponent({
if (entry.isIntersecting) { if (entry.isIntersecting) {
element.classList.add("visible"); element.classList.add("visible");
if (!element.src && element.dataset.src) { if (!element.src && element.dataset.src) {
element.classList.add("displayed");
// Queue the image for loading through the global service // Queue the image for loading through the global service
// Calculate the image's position to prioritize closer images // Calculate the image's position to prioritize closer images
queueImageForLoading( queueImageForLoading(
@ -123,8 +122,6 @@ export default defineComponent({
} }
); );
} }
} else {
element.classList.remove("visible");
} }
}); });
}); });
@ -180,9 +177,6 @@ export interface VideoScrollDef {
.video-scroll img.visible { .video-scroll img.visible {
visibility: visible !important; visibility: visible !important;
}
.video-scroll img.displayed {
opacity: 1 !important; opacity: 1 !important;
} }