{"action":"created","issue":{"url":"https://api.github.com/repos/aframevr/aframe/issues/1933","repository_url":"https://api.github.com/repos/aframevr/aframe","labels_url":"https://api.github.com/repos/aframevr/aframe/issues/1933/labels{/name}","comments_url":"https://api.github.com/repos/aframevr/aframe/issues/1933/comments","events_url":"https://api.github.com/repos/aframevr/aframe/issues/1933/events","html_url":"https://github.com/aframevr/aframe/issues/1933","id":178940250,"number":1933,"title":"Optional fullscreen option","user":{"login":"hugohil","id":4352715,"avatar_url":"https://avatars.githubusercontent.com/u/4352715?v=3","gravatar_id":"","url":"https://api.github.com/users/hugohil","html_url":"https://github.com/hugohil","followers_url":"https://api.github.com/users/hugohil/followers","following_url":"https://api.github.com/users/hugohil/following{/other_user}","gists_url":"https://api.github.com/users/hugohil/gists{/gist_id}","starred_url":"https://api.github.com/users/hugohil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugohil/subscriptions","organizations_url":"https://api.github.com/users/hugohil/orgs","repos_url":"https://api.github.com/users/hugohil/repos","events_url":"https://api.github.com/users/hugohil/events{/privacy}","received_events_url":"https://api.github.com/users/hugohil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-23T18:13:50Z","updated_at":"2016-09-23T20:37:04Z","closed_at":null,"body":"Hi!\r\n\r\nI'm building a WebVR app for mobile using Apache Cordova and, obviously, aframe. This app will systematically be used with HMD on, so I wanted to have the VR mode enabled at startup. I used the `enterVR()` method, but I get a `Failed to execute 'requestFullScreen' on 'Element': API can only be initiated by a user gesture.` warning that prevents me from doing so. The thing is cordova already handles the fullscreen stuff, so I really do not need it to be enabled.\r\n\r\nIs there already some option or property to disable this behaviour for specific kind of case like mine ? If not, I'd be happy to help if you would point me out to the right direction. I've looked a bit into aframe sources and couldn't find any reference to the actual method call that triggers this fullscreen API.\r\n\r\nThanks !\r\n\r\n- A-Frame Version: `0.3.0`\r\n- Platform/Device: Samsung Galaxy S7 / Cordova\r\n- Reproducible Code Snippet or Demo URL:\r\n\r\nSimply open [an example](https://aframe.io/examples/) in your (Android) mobile browser, plug it in your computer and [open the console](https://developers.google.com/web/tools/chrome-devtools/debug/remote-debugging/remote-debugging). Type `document.querySelector('.a-enter-vr-button').click()` and feel my sorrow 😢\r\n"},"comment":{"url":"https://api.github.com/repos/aframevr/aframe/issues/comments/249296258","html_url":"https://github.com/aframevr/aframe/issues/1933#issuecomment-249296258","issue_url":"https://api.github.com/repos/aframevr/aframe/issues/1933","id":249296258,"user":{"login":"ngokevin","id":674727,"avatar_url":"https://avatars.githubusercontent.com/u/674727?v=3","gravatar_id":"","url":"https://api.github.com/users/ngokevin","html_url":"https://github.com/ngokevin","followers_url":"https://api.github.com/users/ngokevin/followers","following_url":"https://api.github.com/users/ngokevin/following{/other_user}","gists_url":"https://api.github.com/users/ngokevin/gists{/gist_id}","starred_url":"https://api.github.com/users/ngokevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngokevin/subscriptions","organizations_url":"https://api.github.com/users/ngokevin/orgs","repos_url":"https://api.github.com/users/ngokevin/repos","events_url":"https://api.github.com/users/ngokevin/events{/privacy}","received_events_url":"https://api.github.com/users/ngokevin/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T20:37:04Z","updated_at":"2016-09-23T20:37:04Z","body":"Yeah, perhaps that'd work. Can you confirm that'd work on hybrid mobile apps?"}}
{"actor":{"display_login":"ngokevin"}}