This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Visu FULL-Screen mode hang up after starting
#1
Hi,

my visu hung up in full-screen mode. Not so familiar with such kind of error. Where errors could be? Advice needed how to correct. How to switch wisu from start to full-screen mode taken from forum.

Part of log from Firefox:
Code:
Uncaught ReferenceError: grp is not defined
    <anonymous> http://xxx.xxx.xxx.xxx/scada-vis/trends?id=1&mode=day:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=1&mode=day]trends:194:3[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=1&mode=day]trends:143:33[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=1&mode=day:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=1&mode=day:155
[url=http://172.23.77.105/scada-vis/trends?id=1&mode=day]trends:143:34[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=9&mode=day&_nc=ve67m1ltel:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=9&mode=day&_nc=ve67m1ltel]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=11&mode=day&_nc=y4thdcel4o:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=11&mode=day&_nc=y4thdcel4o]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=25&mode=day&_nc=69je6gka89k:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=25&mode=day&_nc=69je6gka89k]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=42,43&mode=day&multiple=1&_nc=55av2rppwck:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=42,43&mode=day&multiple=1&_nc=55av2rppwck]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=15&mode=day&_nc=lxx2kqezjn:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=15&mode=day&_nc=lxx2kqezjn]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=13&mode=day&_nc=kvlbva4and:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=13&mode=day&_nc=kvlbva4and]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=20&mode=day&_nc=6jcjm319w4j:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=20&mode=day&_nc=6jcjm319w4j]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=16&mode=day&_nc=lm27jy85y2b:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=16&mode=day&_nc=lm27jy85y2b]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=21&mode=day&_nc=u4vxoi4qyh8:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=21&mode=day&_nc=u4vxoi4qyh8]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=22&mode=day&_nc=ntl7m71k7k8:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=22&mode=day&_nc=ntl7m71k7k8]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=23&mode=day&_nc=ndmmcl8kesj:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=23&mode=day&_nc=ndmmcl8kesj]trends:194:3[/url]

Uncaught ReferenceError: grp is not defined
    <anonymous> http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=24&mode=day&_nc=rtynlp4s069:194
    jQuery 4
[url=http://172.23.77.105/scada-vis/trends?id=24&mode=day&_nc=rtynlp4s069]trends:194:3[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=11&mode=day&_nc=y4thdcel4o]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=25&mode=day&_nc=69je6gka89k]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=42,43&mode=day&multiple=1&_nc=55av2rppwck]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=15&mode=day&_nc=lxx2kqezjn]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=13&mode=day&_nc=kvlbva4and]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=20&mode=day&_nc=6jcjm319w4j]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=16&mode=day&_nc=lm27jy85y2b]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=21&mode=day&_nc=u4vxoi4qyh8]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=22&mode=day&_nc=ntl7m71k7k8]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=23&mode=day&_nc=ndmmcl8kesj]trends:143:33[/url]
Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler. [url=http://172.23.77.105/scada-vis/trends?id=24&mode=day&_nc=rtynlp4s069]trends:143:33[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http://xxx.xxx.xxx.xxx/scada-vis/trends?id=11&mode=day&_nc=y4thdcel4o:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=11&mode=day&_nc=y4thdcel4o:155
[url=http://172.23.77.105/scada-vis/trends?id=11&mode=day&_nc=y4thdcel4o]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=25&mode=day&_nc=69je6gka89k:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=25&mode=day&_nc=69je6gka89k:155
[url=http://172.23.77.105/scada-vis/trends?id=25&mode=day&_nc=69je6gka89k]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=42,43&mode=day&multiple=1&_nc=55av2rppwck:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=42,43&mode=day&multiple=1&_nc=55av2rppwck:155
[url=http://172.23.77.105/scada-vis/trends?id=42,43&mode=day&multiple=1&_nc=55av2rppwck]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=15&mode=day&_nc=lxx2kqezjn:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=15&mode=day&_nc=lxx2kqezjn:155
[url=http://172.23.77.105/scada-vis/trends?id=15&mode=day&_nc=lxx2kqezjn]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=13&mode=day&_nc=kvlbva4and:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=13&mode=day&_nc=kvlbva4and:155
[url=http://172.23.77.105/scada-vis/trends?id=13&mode=day&_nc=kvlbva4and]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=20&mode=day&_nc=6jcjm319w4j:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=20&mode=day&_nc=6jcjm319w4j:155
[url=http://172.23.77.105/scada-vis/trends?id=20&mode=day&_nc=6jcjm319w4j]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=16&mode=day&_nc=lm27jy85y2b:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=16&mode=day&_nc=lm27jy85y2b:155
[url=http://172.23.77.105/scada-vis/trends?id=16&mode=day&_nc=lm27jy85y2b]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=21&mode=day&_nc=u4vxoi4qyh8:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=21&mode=day&_nc=u4vxoi4qyh8:155
[url=http://172.23.77.105/scada-vis/trends?id=21&mode=day&_nc=u4vxoi4qyh8]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=22&mode=day&_nc=ntl7m71k7k8:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=22&mode=day&_nc=ntl7m71k7k8:155
[url=http://172.23.77.105/scada-vis/trends?id=22&mode=day&_nc=ntl7m71k7k8]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=23&mode=day&_nc=ndmmcl8kesj:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=23&mode=day&_nc=ndmmcl8kesj:155
[url=http://172.23.77.105/scada-vis/trends?id=23&mode=day&_nc=ndmmcl8kesj]trends:143:34[/url]
Uncaught (in promise) TypeError: Fullscreen request denied
    fullScreen http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=24&mode=day&_nc=rtynlp4s069:143
    StartUserInput http:// xxx.xxx.xxx.xxx/scada-vis/trends?id=24&mode=day&_nc=rtynlp4s069:155
Alex
Reply
#2
Most likely the problem is caused by trends that you have included via iframe element.
Try this code for fullscreen, it will only work on the main visualization.
Code:
$(function() {
  var body = document.body;
  
  if (body.classList.contains('usermode')) {
    function fs() {
      document.documentElement.requestFullscreen();
      body.removeEventListener('click', fs);
    }
    
    body.addEventListener('click', fs);
  }
});
Reply


Forum Jump: