We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think this is not working properly, I think.
The custom audio embedder (https://github.com/MCT-master/mct-master.github.io#embedding-audio) only works for audio stored locally in the repository. Tested it with .wav audio loaded the from UiO blog repository for large files, but it did not fetch properly.
To edit the audio embedded, go to "utils/waveform.js"
The text was updated successfully, but these errors were encountered:
Apparently, it's a CORS issue as I get these error messages:
Acess to fetch at 'https://www.uio.no/english/studies/programmes/mct-master/blog/assets/audio/......wav' from origin 'http://127.0.0.1:4000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Sorry, something went wrong.
Adding a "no-cors" option to the WaveSurfer object fixed the CORS issue:
// utils/waveform.js - line 86 let waveSurfer = WaveSurfer.create({ ..., xhr: { mode: "no-cors", }, });
However, another issue immerged. Now, it's just this:
Error: HTTP error status: 0 at fetch.js:210:19
When trying to load audio from a different server/site.
Trying to fix issue #41 - work in progress
7132a5e
No branches or pull requests
I think this is not working properly, I think.
The custom audio embedder (https://github.com/MCT-master/mct-master.github.io#embedding-audio) only works for audio stored locally in the repository. Tested it with .wav audio loaded the from UiO blog repository for large files, but it did not fetch properly.
To edit the audio embedded, go to "utils/waveform.js"
The text was updated successfully, but these errors were encountered: