Comments (4)
Hi @arashberlin, thank you for reaching out!
Our article retriever needs to have access to the website where the AudioNative player is hosted. So if you are testing with localhost, it cannot get access to the website and that's where error is coming from. I'll look into making error message correct though, thanks for pointing that out.
There are few ways you can test the player locally:
- Use ngrok, localtunnel or similar service to expose the localhost to the world and then allowlist the exposed url in Elevenlabs.
- Use projects and embed the existing project - https://elevenlabs.io/docs/audio-native/overview#method-2-embed-audio-from-an-existing-project
- Use API to integrate - https://elevenlabs.io/docs/audio-native/overview#method-3-embed-audio-from-content-using-our-api
Let me know if that works for you!
from elevenlabs-examples.
Additionally, here's the guide for that example that discusses Ngrok, let me know if it doesn't work and I can reopen this comment https://elevenlabs.io/docs/audio-native/audio-native-react
from elevenlabs-examples.
Many thanks for the prompt response. I am impressed with your solution and am exploring various use cases for my company. However, I am unable to utilize the widget on our intranet, as it retrieves a response from the endpoint https://api.elevenlabs.io/v1/... and plays back the audio.
Sadly, we are not allowed to use any proxies in our environment. Your AudioNative player only works on internet (web) applications.
I can employ your API endpoint to send the text and receive the result, or alternatively, prepare the audio in advance and use it with my own custom-developed "widget".
Are you familiar with Make.com? It might be possible to use Make.com to transmit and receive data from your endpoint.
Regards
Arash
from elevenlabs-examples.
If you can't load from our URL I think you'd be better using our TTS endpoint and then storing the audio on S3 or another source. Here's a tutorial for you on how to do that: https://elevenlabs.io/docs/api-reference/how-to-use-tts-with-streaming
from elevenlabs-examples.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elevenlabs-examples.