A template for running your new Viewzavr app / package. It uses Viewzavr system A.
Use this repo as a template, and place your code into app.js
file.
You may use viewzavr-hosted player to run your app.
Use src
parameter:
Sub-options for serving app.js:
- Use your own server for app.js. Don't forget to configure CORS headers!
- Use cdn like https://www.jsdelivr.com. For example, current app may be loaded in a such way: http://viewlang.ru/viewzavr-apps/viewzavr-system-a/player/?src=https://cdn.jsdelivr.net/gh/viewzavr/vr-app-template@main/app.js
- Use Viewzavr hosting experimental feature to proxy github files. Example: http://viewlang.ru/viewzavr-apps/viewzavr-system-a/player/?src=https://github.com/viewzavr/vr-app-template/blob/main/app.js
Use index-viewzavr-remote.html
as a template. This file uses viewzavr codes hosted on viewzavr server.
This option gives you control over html. You do not need to configure CORS.
Use index-viewzavr-own.html
as a template. Before using it, add viewzavr as a submodule to your project:
git submodule add [email protected]:/viewzavr/viewzavr-system-a
git submodule update --init --recursive
# git submodule update --recursive --remote
This option gives you full control over everything, but requires you to update viewzavr system time to time.
2021+ (c) Pavel Vasev. This template is available with MIT license. Your app license is up to you.