You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a function that uses fetch() to fetch the necessary information for the audio stream, and put it in an object per the example in the readme. It works when I just call it, but I'm not sure how to pass this object to the component. This:
<script>
let song =getSong("dMBcOobWD4k");
</script>
<Aplayeraudio={song}/>
Does not work. I get a white screen, and this error pops up in the console:
I wrote a function that uses
fetch()
to fetch the necessary information for the audio stream, and put it in an object per the example in the readme. It works when I just call it, but I'm not sure how to pass this object to the component. This:Does not work. I get a white screen, and this error pops up in the console:
I've tried many different thing, incl. async and await. Do you know how to do such a thing?
Thanks.
The text was updated successfully, but these errors were encountered: