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
MediaElementAudioSource outputs zeroes due to CORS access restrictions #71
Comments
It looks like Invidious directly uses the video from googlevideo.com. Due to this Skip Silence is missing CORS permissions to access the volume of the video. |
I still can't find a way to solve this issue, even when modifying response headers. I created a test-extension to see how this could be achieved without needing to integrate it into Skip Silence: https://github.com/vantezzen/cors-audio-extension-test Stackoverflow Discussion about this issue: https://stackoverflow.com/q/64519532/10590162
Chrome Bug Tracker: https://bugs.chromium.org/p/chromium/issues/detail?id=477692
https://bugs.chromium.org/p/chromium/issues/detail?id=511251
|
Currently testing a new idea of using the background script instead of content script to analyze the volume on a per-tab basis instead (similar to how https://github.com/piousdeer/chrome-volume-manager works) |
Describe the bug
Skip-Silence does not work on Invidious, shows the error
MediaElementAudioSource outputs zeroes due to CORS access restrictions
.To Reproduce
Steps to reproduce the behavior:
MediaElementAudioSource outputs zeroes due to CORS access restrictions
Expected behavior
Skip-silence should work as expected.
Desktop (please complete the following information):
Additional context
I found this related Stack Overflow question, don't know if it could help
On youtube the extension works well though.
The text was updated successfully, but these errors were encountered: