As far as I know the other integrations are also loading meteor app through HTTP so they all will have this limitation.
I have checked
--allow-file-access-from-file and it does not work in Electron. IMHO that would be a valid way, but seems that is out of the table.
Could you elaborate on it a little more? I do not quite understand how you are doing it right now.
meteor-desktop node integration in the renderer process is switched off, you need to load you file in the
main process and transfer it via ipc to the
renderer process. You could probably use https://github.com/jprichardson/electron-ipc-stream for that.
We can work out a solution for you but I need to understand your needs better. You want to load images and videos from the local path and display them in the renderer process?
I can prepare a solution similar to the one used in the cordova integration - local file system is available there as a http alias, for example:
But when it comes to efficiency I am not sure what would be faster - I’d bet on IPC. But when using IPC you will have trouble trying to actually show it.