viser icon indicating copy to clipboard operation
viser copied to clipboard

Embed .viser files completely locally

Open Davidyao99 opened this issue 1 year ago • 1 comments
trafficstars

I have been able to generate the .viser file and embed it successfully in a HTML webpage by running the client build on github pages. I was wondering is it possible for this to work completely locally? Where the HTML iframe references a local build directory which takes in a local .viser file. I tried changing paths to local but the local build directory does not seem to work anymore. Any help or guidance will be much appreciated! Thank you!

Davidyao99 avatar Nov 18 '24 21:11 Davidyao99

Hi @Davidyao99! Have you tried launching a local HTTP server? For example, with the commands in https://github.com/nerfstudio-project/viser/issues/326#issuecomment-2467552681

This should behave the same as any other static HTML/javascript-based web app.

brentyi avatar Nov 22 '24 09:11 brentyi