I am trying to embed an audio file (.wav) in my dash app. Unfortunately the app does not display anything.
What I am currently doing is using a python server (http.server) and getting the file from it.
audio_filename = 'http://localhost:9999/file.wav' app.layout =html.Div([html.Audio(id='audio', src=audio_filename)])
But when I use html.Img with an png file it perfectly works.
img_filename = 'http://localhost:9999/file.png' app.layout =html.Div([html.Img(id='img', src=img_filename)])
I searched around and I didn’t find much on the html.Audio component and I don’t know how to proceed right now.
Thanks in advance for your help guys!