This is nice, but to me it seems pretty fragile unless you use only one machine. If you have Obsidian Sync and use the vault on more than one machine, even if you replicate the file structure on each, I’d be impressed that the file link ID would identify the file on each. And what about on an iPhone/iPad? If all that works, I’d love to see it demoed. I have been using DevonThink for years to achieve this (load a file into DT, copy the DT URL and paste it into Obsidian). The link then opens the right file inside DT from any computer it is on (Macs and iPhones). This is a bit quicker and lighter, so if it works across multiple machines, I hope you cover this in more depth.
You're right; not on Windows. So the solution would be to bring all the attachments into the vault like I showed in the video that prompted this one. So the folks who want to link out to files that stay out in the main folder environment can only do it this way on Mac. Otherwise I'd recommend sticking with the "put the file in the vault and that's where it lives now" approach.
RU-vid keeps deleting my reply, maybe because I linked to other sites? Trying again again again. The Obsidian Help page on symbolic links says, "File symlinks (as opposed to folder symlinks) may work, but aren't officially supported at this time." They really discourage any other use. I plan to play around with this later.