Giter VIP home page Giter VIP logo

Comments (5)

ShiiRochi avatar ShiiRochi commented on June 4, 2024

Hi, @jamesryan-dev! You can click on Codesandbox badge to open demo with it

from wavesurfer-react.

ShiiRochi avatar ShiiRochi commented on June 4, 2024

@jamesryan-dev, wavesurfer-react package components do not have src prop. Currently, to load an audio, you have to receive ref of wavesurfer instance and use its API.

from wavesurfer-react.

MaxInMoon avatar MaxInMoon commented on June 4, 2024

@ShiiRochi do you have an example with a distant url file? (can't make it work..)

from wavesurfer-react.

ShiiRochi avatar ShiiRochi commented on June 4, 2024

@MaxInMoon, I've searched for issues in wavesurfer.js repo, and this the first thing that I found:
katspaugh/wavesurfer.js#54

from wavesurfer-react.

ShiiRochi avatar ShiiRochi commented on June 4, 2024

@jamesryan-dev, @MaxInMoon you have to enable CORS requests for files you need to display on your webpage, otherwise store them inside public folder of your webpage. I tried to store file in file.io service, but their CORS policy does not allow me to download anything from codesandbox.io.

I will close this issue, because this issue relates to interaction between different domains more, than to the package functionality.

from wavesurfer-react.

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.