silverbulletmd / silverbullet

The knowledge tinkerer's notebook
https://silverbullet.md
MIT License
2.55k stars 187 forks source link

Support for linking to/embedding large videos, audio and PDFs etc. stored on local file system #574

Open wbrittwage opened 11 months ago

wbrittwage commented 11 months ago

It would be useful to be able to embed videos and audio in pages or in a "attachments" view associated with pages (in other apps I find embedded audio/video is often ugly and counterintuitive anyway). A well done gallery or attachments property for pages might even be better than embedding anyway. Perhaps it would be easier to implement as well. As far as in line references to big media files, 99% of the time just being able to embed a link to a local FS file which has already been "aliased" to the page as an attachment to open it in the system default media player like VLC would be good enough.

Regardless, if the developers feel embedding content would be easier or more intuitive for the user they should by all means do this.

attachments

A layout like this would solve my problem in 97% of cases. The 3% would be cases where I might have an index page of many (15+) media files. In this case maybe a hideable vertical split panel of files would be good.

As regards linking to the attached/aliased files, I would like to be able to rename individual links so I dont have to read "This-is-the-clip-you-need-to-watch-march-5th-2021.mp4" and instead put "please watch this great clip".

Maybe it should be called aliases instead of attachments because the file stays in the local FS. Anyway, hope that's clear.

montarion commented 3 months ago

Would love to see this for pdf's, just like we have for images