wprins Posted September 27, 2016 Share Posted September 27, 2016 Is there a demo or can someone explain whether there's a UniGUI based way to request fullscreen mode from the browser (on login say)? E.g using browser API as mentioned here: https://davidwalsh.name/fullscreen https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API There seems to be some differences between how browsers handle this (sigh) which seems to be taken care of by the following library, apparently: https://github.com/sindresorhus/screenfull.js/ Quote Link to comment Share on other sites More sharing options...
wprins Posted September 28, 2016 Author Share Posted September 28, 2016 So I suppose the thundering silence implies everyone runs their UniGUI apps with the browser fully visible(?) Quote Link to comment Share on other sites More sharing options...
zilav Posted September 28, 2016 Share Posted September 28, 2016 The generic usage of 3rd party js libs is following: 1) Add js file(s) into ServerModule.CustomFiles 2) Use UniSession.AddJS() to execute javascript code from within uni events I don't see any reason why whis particular lib won't work this way. 1 Quote Link to comment Share on other sites More sharing options...
wprins Posted September 28, 2016 Author Share Posted September 28, 2016 Thanks I'll have a look. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.