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.htmlThis is the main page for the website. The command
genvid-sdk open webdisplays it. This document includes various JavaScript and CSS files.admin.htmlThis 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.iconThis is an icon for the webpage.
cssfolderThis folder contains
icons.cssandstyle.css. The cheer button requiresicons.csswhilestyle.cssdefines all the other style options forindex.htmlandadmin.html.imgfolderThis 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
imgfolder.jsfolderThis folder contains the JavaScript files for the frontend
web.jsandweb-admin.jsweb.jsThis is a JavaScript file included in the
index.htmldocument. It performs all calls to the Genvid API and other interactions on the index page.web-admin.jsThis is a JavaScript file included in the
admin.htmldocument. It does all the calls to the Genvid API and other interactions on the admin page.