6 ms·
The local html file can read local resources via src=file_path attributes on html tags (img, audio, video, script etc). But the src-included files must be in t
by emadda 1y ago
The local html file can read local resources via src=file_path attributes on html tags (img, audio, video, script etc).
But the src-included files must be in the same directory as the root html file (or a descendant directory)
I used this in my macOS app Pocket Log to output a local html audio log (https://enzom.dev https://enzom.dev).
- codedokode 1y agoSadly it doesn't work for JS modules, only for legacy JS scripts.