You need to install GizmoVR player first
This window will be closed in sec
Download VR PlayerNo, thank youYou can use the manifest to mark up different pages using wildcards in the uri
for example /article/*
record format for the manifest
{
"uri": "/article/*",
"page": {
"width": 1366,
"height": 768
},
"layout": {
"width": 1366,
"height": 768,
"geometry": "curved"
}
}
Where:
Viewport markup on a web page
The HTML code of the example can be found at https://test-api1.gizmovr.com/demo1/
Description of the manifest can be found at https://test-api1.gizmovr.com/gizmovr.json
In this example, the manifest describes a rule for addresses of the type /demo. The page itself has two layers, to mark them in VR mode we add an array of viewports objects to the layout object
{
"viewports": [
{
"id": "left_panel",
"layout_coords": {
"left": 0,
"top": 80
},
"page_rect": {
"left": 0,
"top": 80,
"width": 100,
"height": 150
},
"geometry": "flat",
"order": 0
}
]
}
Fields:
Diagram of the transition of blocks from page_rect to layout_coords
The manifest structure
{
"version": "1.0.0",
"name": "ExampleSite",
"icon": "images/touch/icon.png",
"color_theme": {
"name": "dark_navy"
},
"layouts": [
...
]
}
Fields:
Layout structure
{
"uri": "*/demo*",
"page": {
"width": 512,
"height": 512
},
"layout": {
"width": 1100,
"height": 768,
"geometry": "curved",
"fov_angle": 105
},
"viewports": []
}
Fields:
Viewports structure
{
"id": "left_panel",
"layout_coords": {
"left": 0,
"top": 80
},
"page_rect": {
"left": 0,
"top": 80,
"width": 100,
"height": 150
},
"geometry": "flat",
"order": 0
}
Fields: