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
Describe the problem
I want to add audio file which is not part of 'web' folder in my eel project. I am giving absolute path link as source in my html. But I am getting error in console "Resource not found"
Code snippet(s)
importeel
...
<html><audiocontrols=""><sourcesrc="/home/user/workspace/voice/test.wav" type="audio/wav"> Your browser does not support the <code>audio</code> element. </audio></html>
Console error: Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8000/home/user/workspace/voice/test.wav
Note. When I load my html directly in browser, its working Desktop (please complete the following information):
OS: Ubuntu
BrowserChrome
Version [e.g. 22]
How can I embed external media in my html while using eel? I can't change the path or copy audio files to my eel web folder as files are being dynamically generated by other code and I am using eel to view/play them.
Describe the problem
I want to add audio file which is not part of 'web' folder in my eel project. I am giving absolute path link as source in my html. But I am getting error in console "Resource not found"
Code snippet(s)
Note. When I load my html directly in browser, its working
Desktop (please complete the following information):
How can I embed external media in my html while using eel? I can't change the path or copy audio files to my eel web folder as files are being dynamically generated by other code and I am using eel to view/play them.