Help with playing a local mp3 #2865
Replies: 3 comments 2 replies
-
I go through the doc https://flet.dev/docs/controls/audio/#src and https://flet.dev/docs/controls/image#src. Maybe you should prefix the filename with a |
Beta Was this translation helpful? Give feedback.
-
Can you share the file you are using? It might be damaged or not have the correct extension, |
Beta Was this translation helpful? Give feedback.
-
This is a bit strange. Sometimes it works out of the blue. I'm using Edge on both Android and Windows and the docs say that autoplay doesn't work. I took this as meaning that I have to manually click a button to start it.
Stumped! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have this web app that I'm playing with and can:
However, I can't seem to figure out how to play a local mp3 in the assets folder. The following code shows the image from the assets folder but I hear no audio. If replace the path with a web url all works perfectly.
any help would be appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions