Coder Social home page Coder Social logo

Comments (6)

staskobzar avatar staskobzar commented on June 23, 2024

Hello
Try to check web-developer javascript console and see if there any errors or warnings.
Sometimes it is CORS problem when audio source has different host or port then the page with the plugin.

from vue-audio-visual.

KunCheng-He avatar KunCheng-He commented on June 23, 2024

@staskobzar Thank you very much
But I don't think it's a CORS issue, because in Chrome, the network shows that the audio requests are responding normally and not being intercepted.

image

In addition, when loading the page, I did not find any abnormal output in Chrome's console.

image

from vue-audio-visual.

staskobzar avatar staskobzar commented on June 23, 2024

it is hard to say then what is wrong.
However, you are using source in <audio> element. You should use it only in useAVLine function.

Also, try to use different source and see if it makes any difference. Just to make sure the problem is not audio source

from vue-audio-visual.

staskobzar avatar staskobzar commented on June 23, 2024

@KunCheng-He oups, sorry
I mean, you shoud use ref is source of audio element
like it is done here: https://github.com/staskobzar/vue-audio-visual/blob/master/src/components/AVLine.vue

from vue-audio-visual.

KunCheng-He avatar KunCheng-He commented on June 23, 2024

I have taken your advice and tried to change the audio link, but the result is still the same. It works fine in Firefox, but still not working properly in Chrome.

I find this question quite strange, and I currently don't have any idea about it. Thank you for your help.

from vue-audio-visual.

staskobzar avatar staskobzar commented on June 23, 2024

try with a different source and if it works try to compare the traffic with console networking tab. Maybe there are some headers or content type or something else

from vue-audio-visual.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.