Potree projects that were exported (Scene → Export → Potree) can be loaded with viewer.loadProject(url).