GitHub - 支持原生 JavaScript、React、Vue 和 Svelte 的 110 种类型文件的预览

by
一个面向浏览器的文件预览库,支持原生 JavaScript、React、Vue 和 Svelte。核心目标是把文件预览嵌入到你自己的页面容器里,而不是跳转到新窗口。 - xushanpei/open-file-viewer

Add a comment

Replies

Best

love that it drops the preview right into your own container instead of forcing a new tab - feels way more native. the multi-framework support without a heavy abstraction layer is a nice touch too.

How does it handle really large files like multi-gigabyte videos or PDFs though, does it stream them or load everything into memory at once?