Toggle fullscreen in voice control context not possible
Reported by
kekeisen...@gmail.com,
Sep 3 2017
|
|||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Steps to reproduce the problem:
var s = new webkitSpeechRecognition();
s.onresult = function (event) {
console.log('user told us to "enter fullscreen"');
document.body.webkitRequestFullscreen();
};
s.start();
What is the expected behavior?
The code should be able to successfully request fullscreen mode.
What went wrong?
Chrome prevents the code from doing it.
Did this work before? No
Does this work in other browsers? No
For now, its not possible to toggle the browsers full screen mode in a self-implemented voice command since chrome reports this error:
> Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture.
But actually, telling the browser "go to fullscreen" is kinda user gesture. What do you think about this? Should there a possibility to create new Instance of webkitSpeechRecognition with the right, to call webkitRequestFullscreen somewhen in its context?
Chrome version: 60.0.3112.113 Channel: stable
OS Version: OS X 10.12.6
Flash Version:
,
Sep 9 2017
Tried it too, seems you did not say anything? I yelled "test" and this was the result:
,
Sep 9 2017
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 11 2017
,
Sep 12
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 13
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by sc00335...@techmahindra.com
, Sep 4 2017Labels: Needs-Triage-M60 Needs-Feedback Triaged-ET
208 KB
208 KB View Download