mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
Remove BetterAudioPlayer Logging
This commit is contained in:
parent
e559dffaed
commit
ebde2663d1
1 changed files with 0 additions and 4 deletions
|
@ -90,7 +90,6 @@ async function addListeners(audioElement: HTMLAudioElement, url: string, parentB
|
||||||
canvas.classList.add("better-audio-visualizer");
|
canvas.classList.add("better-audio-visualizer");
|
||||||
audioElement.parentElement?.appendChild(canvas);
|
audioElement.parentElement?.appendChild(canvas);
|
||||||
|
|
||||||
console.log(parentBorderRadius);
|
|
||||||
if (parentBorderRadius) canvas.style.borderRadius = parentBorderRadius;
|
if (parentBorderRadius) canvas.style.borderRadius = parentBorderRadius;
|
||||||
|
|
||||||
function drawVisualizer() {
|
function drawVisualizer() {
|
||||||
|
@ -204,9 +203,6 @@ function scanForAudioElements(element: HTMLElement) {
|
||||||
|
|
||||||
if (!metadata) return;
|
if (!metadata) return;
|
||||||
|
|
||||||
console.log(audioElement);
|
|
||||||
console.log(metadata);
|
|
||||||
|
|
||||||
addListeners(metadata.audio, metadata.url, metadata.parentBorderRadius);
|
addListeners(metadata.audio, metadata.url, metadata.parentBorderRadius);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue