Compare commits
No commits in common. "c9fc9451ee9148bd72531131813758d3f54eecdc" and "35be3f88537290738595d8806f7adf467dee2d57" have entirely different histories.
c9fc9451ee
...
35be3f8853
4 changed files with 1 additions and 11 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -1 +0,0 @@
|
|||
public/empty.mp3 filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98875890b2f83542ccc5a791c22669b7372ea3bde7349d284feb3d937dce3d95
|
||||
size 4412
|
||||
|
|
@ -32,7 +32,7 @@ export default defineComponent({
|
|||
// Use the global audio loading queue to throttle concurrent loads
|
||||
const preloadAudio = (src: string) => {
|
||||
console.debug(`[AUDIOAREA] Queueing audio for preload: ${src}`);
|
||||
audioSrc.value = "empty.mp3";
|
||||
audioSrc.value = "";
|
||||
|
||||
queueAudioForLoading(
|
||||
src,
|
||||
|
|
|
|||
|
|
@ -107,7 +107,6 @@ export default defineComponent({
|
|||
if (entry.isIntersecting) {
|
||||
element.classList.add("visible");
|
||||
if (!element.src && element.dataset.src) {
|
||||
element.classList.add("displayed");
|
||||
// Queue the image for loading through the global service
|
||||
// Calculate the image's position to prioritize closer images
|
||||
queueImageForLoading(
|
||||
|
|
@ -123,8 +122,6 @@ export default defineComponent({
|
|||
}
|
||||
);
|
||||
}
|
||||
} else {
|
||||
element.classList.remove("visible");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -180,9 +177,6 @@ export interface VideoScrollDef {
|
|||
|
||||
.video-scroll img.visible {
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.video-scroll img.displayed {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue