What is the issue with the Fullscreen API Standard?
Hello. I have a problem, I would like to persist my fullscreen state in the same session - across page reloads. I have a local webapp, and the page refreshes in case of app update, or backend restart. I want to keep information about fullscreen in session storage, and restore it after reload. But currently requestFullscreen requires "Transient user activation", and I get a security error
I think a good solution will be allowing requestFullscreen inside load event if the session had document.fullscreenElement in the previous document
What is the issue with the Fullscreen API Standard?
Hello. I have a problem, I would like to persist my fullscreen state in the same session - across page reloads. I have a local webapp, and the page refreshes in case of app update, or backend restart. I want to keep information about fullscreen in session storage, and restore it after reload. But currently
requestFullscreenrequires "Transient user activation", and I get a security errorI think a good solution will be allowing
requestFullscreeninsideloadevent if the session haddocument.fullscreenElementin the previous document