- Home /
How can i switch resolutions in fullscreen in the web player?
I am using setResolution to set both resolution and fullscreen. Whenever I use setResolution(newresx, newresy, true) the web player first switches to my new resolution for a second, then kicks me out of fullscreen. The only line pertaining to this phenomenon I could find was this in the scripting reference:
"In the web player you may only switch resolutions after the user has clicked on the content. The recommended way of doing it is to switch resolutions only when the user clicks on a designated button. "
My setResolution call is occurring right after a player click and the log file tells me:
web: set web resolution 1024 x 768, fs=1 web: set web resolution 1024 x 768, fs=0
Is it possible to change resolutions while in fullscreen, or am i doomed to make players drop back to windowed mode whenever they change resolution?
make debug.log right before calling SetResolution to be sure you execute it once
i have double and triple checked that i am only calling it once, this seems to be a bug in the web player
I have double and triple checked that i am only calling it once