Files Used to Run the Website
All the files indicated in this section are located inside the
web/public
root folder. The local server uses the files in the web/backend
folder when starting the sample.
index.html
This is the main page for the website. The command
genvid-sdk open web
displays it. This document includes various JavaScript and CSS files.admin.html
This page is the admin section for the website. It contains several buttons that allow direct interaction with the game objects.
The admin page requires a username and password. The default user name is admin and the password is admin.
favicon.icon
This is an icon for the webpage.
css
folderThis folder contains
icons.css
andstyle.css
. The cheer button requiresicons.css
whilestyle.css
defines all the other style options forindex.html
andadmin.html
.img
folderThis folder contains the images used for the website. The circle highlight made in WebGL, the Genvid logo, and the Genvid overlay-button all use images from the
img
folder.js
folderThis folder contains the JavaScript files for the frontend
web.js
andweb-admin.js
web.js
This is a JavaScript file included in the
index.html
document. It performs all calls to the Genvid API and other interactions on the index page.web-admin.js
This is a JavaScript file included in the
admin.html
document. It does all the calls to the Genvid API and other interactions on the admin page.