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

How to use "loadAudio" more than once ? #21

Open
exatombe opened this issue May 28, 2023 · 3 comments
Open

How to use "loadAudio" more than once ? #21

exatombe opened this issue May 28, 2023 · 3 comments

Comments

@exatombe
Copy link

I want to use loadAudio to replace the already set audio

@MuiGoku123432
Copy link

Did anyone ever figure this out

@serdar78
Copy link

serdar78 commented Jul 9, 2024

I saw this error when I wanted to change it in html

'demo/audio/audio1.mp3' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.'

I was able to change the sound when I put it in a project in visual studio

`
@RenderBody()
Play


<script src="~/Content/er/lib/echarts.js"></script>
<script src="~/Content/er/src/js/circular-audio-wave.js"></script>

<script>
    let wave = new CircularAudioWave(document.getElementById('chart-container'));
    wave.loadAudio('Content/er/demo/audio/audio1.mp3');</script>
`

but I still haven't found how to change the gif file :(

@exatombe
Copy link
Author

exatombe commented Jul 9, 2024 via email

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