This file seems to be a copy of the
example1.html file… and it's the case. But there are some differences. As a consequence, you shouldn't take it as an example of use.
In fact, in this file, Photo Sphere Viewer is not included in its minified version. Not even in its complete build version. No, this file includes all the source files used by Photo Sphere Viewer.
It's not a thing to do on a production website. This file is here for only one reason: testing. As the linked files are the source ones, we can test with it the latest modifications, without building the complete library. The build mustn't be generated before a new version is ready.
You can test Photo Sphere Viewer right below.
And, right below, you can try the "upload way".