benjypng / logseq-localassets-plugin

MIT License
33 stars 7 forks source link

Bug: Exception when embeded local video #4

Closed simowce closed 1 year ago

simowce commented 2 years ago

Thanks for writing such a great plugin. But I met a error when embeded local video, it throw a Exception:

Uncaught Exception:
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:370:5)
at onParseError (node:internal/url:536:9)
at new URL (node:internal/url:612:5)
at $electron$window$open_default_app_BANG_$$ (/Applications/Logseq.app/Contents/Resources/app/electron.js:12643:23)
at Object.<anonymous> (/Applications/Logseq.app/Contents/Resources/app/electron.js:12699:207)
at Object.emit (node:events:394:28)
at emitDeprecatedNewWindowEvent (node:electron/js2c/browser_init:189:1218)
at Object.openGuestWindow (node:electron/js2c/browser_init:189:1465)
at Object.<anonymous> (node:electron/js2c/browser_init:165:12226)
at Object.emit (node:events:394:28)
benjypng commented 2 years ago

Do you mind sharing what you actually typed in the block itself? It should look like {{renderer ...}}

benjypng commented 1 year ago

Hi, please try the latest version and re-open this issue if it still persists.