{"id":13609360,"url":"https://github.com/googlearchive/vrview","last_synced_at":"2025-09-29T01:30:44.830Z","repository":{"id":50661032,"uuid":"44144887","full_name":"googlearchive/vrview","owner":"googlearchive","description":"Library for embedding immersive media into traditional websites.","archived":true,"fork":false,"pushed_at":"2018-10-17T13:20:14.000Z","size":109365,"stargazers_count":1712,"open_issues_count":105,"forks_count":1094,"subscribers_count":176,"default_branch":"master","last_synced_at":"2024-04-14T04:18:42.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://developers.google.com/cardboard/vrview","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlearchive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-13T01:45:58.000Z","updated_at":"2024-04-09T17:06:46.000Z","dependencies_parsed_at":"2022-09-26T21:51:30.758Z","dependency_job_id":null,"html_url":"https://github.com/googlearchive/vrview","commit_stats":null,"previous_names":["google/vrview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fvrview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fvrview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fvrview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fvrview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlearchive","download_url":"https://codeload.github.com/googlearchive/vrview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234579583,"owners_count":18855636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T19:01:34.355Z","updated_at":"2025-09-29T01:30:41.811Z","avatar_url":"https://github.com/googlearchive.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# VR View\n\n[![Build Status](https://travis-ci.org/googlevr/vrview.svg?branch=master)](https://travis-ci.org/googlevr/vrview)\n[![dependencies Status](https://david-dm.org/googlevr/vrview/status.svg)](https://david-dm.org/googlevr/vrview)\n[![devDependencies Status](https://david-dm.org/googlevr/vrview/dev-status.svg)](https://david-dm.org/googlevr/vrview?type=dev)\n\nVR View allows you to embed 360 degree VR media into websites on desktop and\nmobile. For more information, please read the documentation available at\n\u003chttp://developers.google.com/cardboard/vrview\u003e.\n\n# Configuration\n\nA complete list of VR View parameters can be found in the table below.\n\nName | Type | Parameter description\n---- | ---- | ---------------------\n`video` | String | URL to a 360° video file or an adaptive streaming manifest file (.mpd or .m3u8). Exactly one of video or image is required.\n`image` | String | URL to a 360° image file. Exactly one of video or image is required.\n`width` | String | String value for the iframe's width attribute.\n`height` | String | String value for the iframe's height attribute.\n`preview` | String | (Optional) URL to a preview image for a 360° image file.\n`is_stereo` | Boolean | (Optional) Indicates whether the content at the image or video URL is stereo or not.\n`is_debug` | Boolean | (Optional) When true, turns on debug features like rendering hotspots ad showing the FPS meter.\n`is_vr_off` | Boolean | (Optional) When true, disables the VR mode button.\n`is_autopan_off` | Boolean | (Optional) When true, disables the autopan introduction on desktop.\n`default_yaw` | Number | (Optional) Numeric angle in degrees of the initial heading for the 360° content. By default, the camera points at the center of the underlying image.\n`is_yaw_only` | Boolean | (Optional) When true, prevents roll and pitch. This is intended for stereo panoramas.\n`loop` | Boolean | (Optional) When false, stops the loop in the video.\n`hide_fullscreen_button` | Boolean | (Optional) When true, the fullscreen button contained inside the VR View iframe will be hidden. This parameter is useful if the user wants to use VR View's fullscreen workflow (via `vrView.setFullscreen()` callback) with an element outside the iframe. \n`volume` | Number | (Optional) The initial volume of the media; it ranges between 0 and 1; zero equals muted.\n`muted` | Boolean | (Optional) When true, mutes the sound of the video.\n\n# Downloading files\n\nThe `gh-pages` branch hosts the built files. Download these instead of linking to these\nlocations, since the directory structure of the repo may change in the future.\n\n* [https://googlevr.github.io/vrview/build/vrview.js](https://googlevr.github.io/vrview/build/vrview.js)\n* [https://googlevr.github.io/vrview/build/vrview.min.js](https://googlevr.github.io/vrview/build/vrview.min.js)\n* [https://googlevr.github.io/vrview/build/embed.js](https://googlevr.github.io/vrview/build/embed.js)\n* [https://googlevr.github.io/vrview/build/embed.min.js](https://googlevr.github.io/vrview/build/embed.min.js)\n* [https://googlevr.github.io/vrview/build/three.js](https://googlevr.github.io/vrview/build/three.js)\n* [https://googlevr.github.io/vrview/build/three.min.js](https://googlevr.github.io/vrview/build/three.min.js)\n* [https://googlevr.github.io/vrview/build/device-motion-sender.min.js](https://googlevr.github.io/vrview/build/device-motion-sender.min.js)\n\n# Building\n\nThis project uses `browserify` to manage dependencies and build. `watchify` is\nespecially convenient to preserve the write-and-reload model of development.\nThis package lives in the npm index.\n\n**Current builds are not working on Windows ([#261](https://github.com/googlevr/vrview/issues/261))**\n\nRelevant commands:\n```shell\n$ npm run build # builds the iframe embed and JS API (full and minified versions).\n$ npm run build-api # builds the JS API (full and minified versions).\n\n$ npm run build-min # builds the minified iframe embed.\n$ npm run build-dev # builds the full iframe embed.\n\n$ npm run build-api-min # builds the minified JS API.\n$ npm run build-api-dev # builds the full JS API.\n\n$ npm run watch # auto-builds the iframe embed whenever any source changes.\n$ npm run watch-api # auto-builds the JS API code whenever any source changes.\n```\nAs of 2017/06/13, the pre-built js artifacts have been removed from source\ncontrol. You must run `npm run build` prior to trying any of the examples.\n\n# Release Notes\n## 2.0.2\nClose vulnerability with unsanitized user strings being injected into DOM\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglearchive%2Fvrview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglearchive%2Fvrview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglearchive%2Fvrview/lists"}