Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The element showcqt-element is failed to be created #5

Open
Davinais opened this issue Apr 7, 2023 · 4 comments
Open

The element showcqt-element is failed to be created #5

Davinais opened this issue Apr 7, 2023 · 4 comments

Comments

@Davinais
Copy link

Davinais commented Apr 7, 2023

Hi,

I have tried the extension on Microsoft Edge 112.0.1722.34.
However, there's no spectrum shown up.

The following shows the error from the console.
image
I've also tried the Firefox extension on Firefox 108.0.2, which have similar results.

It seems that the constructor of showcqt-element has violated some policies, so some modifications are required to solve it.
Thank you.

@mfcc64
Copy link
Owner

mfcc64 commented Apr 7, 2023

Does Chrome have similar result?
Can you view page source of YouTube page and search for 'ShadyDOM'?

Thank's.

@6rube
Copy link

6rube commented Oct 6, 2023

@mfcc64 i have the same error. I tried Chrome, Brave and Edge. I can find multiple files with ShadyDOM in the Page Source.
image
Thanks :)

@mfcc64
Copy link
Owner

mfcc64 commented Oct 10, 2023

That's different problem. Can you run this

const cqt = document.getElementsByTagName("showcqt-element")[0];
console.log("sample rate:", cqt.audio_context.sampleRate);
console.log("dimension:", cqt.clientWidth, cqt.clientHeight);

Thank's.

@Davinais
Copy link
Author

Hi, I almost forgot that I've posted the issue. I don't know what cause 6rube's issue but I found that mine works good now.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants