(In reply to Will Morgan from comment #12) > This GitHub issue from WhatWG suggests the web app should prompt the user for camera access first, play underlying video element, then enter fullscreen. In my app, if I follow that strategy, it works in Chrome. From my testing, using https://ivy-bald-headlight.glitch.me/, if I wait long enough before accepting the prompt, Chromium will behave similar to Firefox and not grant the full screen request. Do you have a working example? Also, could you please link the GitHub issue you mentioned? Thanks! I get the following error: ``` Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture. ```
Bug 957558 Comment 17 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Will Morgan from comment #12) > This GitHub issue from WhatWG suggests the web app should prompt the user for camera access first, play underlying video element, then enter fullscreen. In my app, if I follow that strategy, it works in Chrome. From my testing, using https://ivy-bald-headlight.glitch.me/, if I wait long enough before accepting the prompt, Chromium will behave similar to Firefox and not grant the full screen request. Do you have a working example? Also, could you please link the GitHub issue you mentioned? Thanks! I get the following error in Chromium: ``` Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture. ```