![]() This library is available under the MIT license. If your panorama is taken with Google's Photo Sphere, usexmpdata must be set to true, unless it is not cropped. The example1.html is a more complete (and more interesting) example. You can find a basic example of use in the file example.html. Onready (optional, default to null) Function called once the panorama is ready and the first image is displayed. Pano_size (optional, default to null) The panorama size, if cropped (unnecessary if XMP data can be read).ĭefault_position (optional, default to ). Usexmpdata (optional, default to true): true if Photo Sphere Viewer must read XMP data, false if it is not necessary.Ĭors_anonymous (optional, default to true): true to disable the exchange of user credentials via cookies, false otherwise. Panorama (required): the path to the panorama.Ĭontainer (required): the div in which the panorama will be displayed.Īutoload (optional, default to true): true to automatically load the panorama, false to load it later (with the. Here is the list of available parameters. ![]() You must pass it an object containing at least two parameters for the panorama. The container image acts as the left eye image, while the right eye and an (optional) audio file are stored as base64-encoded binary blobs in the image’s metadata. Cardboard Camera stores elements of a VR photo as metadata in a JPEG file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |