{"action":"created","issue":{"url":"https://api.github.com/repos/cvan/test-repo/issues/19","repository_url":"https://api.github.com/repos/cvan/test-repo","labels_url":"https://api.github.com/repos/cvan/test-repo/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/cvan/test-repo/issues/19/comments","events_url":"https://api.github.com/repos/cvan/test-repo/issues/19/events","html_url":"https://github.com/cvan/test-repo/issues/19","id":158018637,"number":19,"title":"State and events for interstitial/warning screens","user":{"login":"cvan","id":203725,"avatar_url":"https://avatars.githubusercontent.com/u/203725?v=3","gravatar_id":"","url":"https://api.github.com/users/cvan","html_url":"https://github.com/cvan","followers_url":"https://api.github.com/users/cvan/followers","following_url":"https://api.github.com/users/cvan/following{/other_user}","gists_url":"https://api.github.com/users/cvan/gists{/gist_id}","starred_url":"https://api.github.com/users/cvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvan/subscriptions","organizations_url":"https://api.github.com/users/cvan/orgs","repos_url":"https://api.github.com/users/cvan/repos","events_url":"https://api.github.com/users/cvan/events{/privacy}","received_events_url":"https://api.github.com/users/cvan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-01T22:11:21Z","updated_at":"2016-06-01T22:11:43Z","closed_at":null,"body":"<a href=\"https://github.com/brianchirls\"><img src=\"https://avatars.githubusercontent.com/u/492291?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [brianchirls](https://github.com/brianchirls)**\n_Thursday May 19, 2016 at 02:35 GMT_\n_Originally opened as https://github.com/MozVR/webvr-spec/issues/34_\n\n----\n\nOver at webvr-polyfill, there's been a [request](https://github.com/borismus/webvr-polyfill/issues/93) for events that would fire when the Cardboard interstitial appears and disappears. I think I read @toji say somewhere that the interstitial would be built into Chrome on Android. It occurs to me that this is analogous to the Oculus safety screen and that it would be useful to know when these screens are blocking the display so the user doesn't miss any content.\r\n\r\nDoes anybody know if the Oculus SDK allows detection of this sort of thing?\r\n\r\nIt seems that there should be a boolean property on the `VRDisplay` that tells whether the screen is blocked by a warning and an event that fires when this property changes. Maybe something analogous to `document.hidden`. Alternatively, `onvrdisplaypresentchange` could wait to fire until the interstitial is cleared, but that might not make sense if different platforms vary enough in their behavior. For example, if Chrome/Android/Cardboard (or the polyfill) shows an interstitial when you tilt the device too close to vertical, then the latter approach wouldn't work.\r\n\r\nI could imagine platforms in the future popping up warnings for various safety and comfort reasons, like: an epilepsy blocker if it detects bright flashing light, or an interruption if the frame rate drops too low.\n"},"comment":{"url":"https://api.github.com/repos/cvan/test-repo/issues/comments/223140658","html_url":"https://github.com/cvan/test-repo/issues/19#issuecomment-223140658","issue_url":"https://api.github.com/repos/cvan/test-repo/issues/19","id":223140658,"user":{"login":"cvan","id":203725,"avatar_url":"https://avatars.githubusercontent.com/u/203725?v=3","gravatar_id":"","url":"https://api.github.com/users/cvan","html_url":"https://github.com/cvan","followers_url":"https://api.github.com/users/cvan/followers","following_url":"https://api.github.com/users/cvan/following{/other_user}","gists_url":"https://api.github.com/users/cvan/gists{/gist_id}","starred_url":"https://api.github.com/users/cvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvan/subscriptions","organizations_url":"https://api.github.com/users/cvan/orgs","repos_url":"https://api.github.com/users/cvan/repos","events_url":"https://api.github.com/users/cvan/events{/privacy}","received_events_url":"https://api.github.com/users/cvan/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T22:11:42Z","updated_at":"2016-06-01T22:11:42Z","body":"<a href=\"https://github.com/brianchirls\"><img src=\"https://avatars.githubusercontent.com/u/492291?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [brianchirls](https://github.com/brianchirls)**\n_Thursday May 19, 2016 at 12:34 GMT_\n\n----\n\nSounds like a good start. I don't think slowing the frame rate is sufficient, since you may want to fully pause the experience. But we could start with this and then add in additional state and events later on if the need arises. Right?\n"}}
{"actor":{"display_login":"cvan"}}