diff options
Diffstat (limited to 'webclients/novnc/vnc_auto.html')
-rw-r--r-- | webclients/novnc/vnc_auto.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/webclients/novnc/vnc_auto.html b/webclients/novnc/vnc_auto.html index 8d370b5..2b60d77 100644 --- a/webclients/novnc/vnc_auto.html +++ b/webclients/novnc/vnc_auto.html @@ -1,9 +1,10 @@ <!DOCTYPE html> <html> <!-- - noVNC Example: Automatically connect on page load. - Copyright (C) 2011 Joel Martin - Licensed under LGPL-3 (see LICENSE.txt) + noVNC example: simple example using default UI + Copyright (C) 2012 Joel Martin + noVNC is licensed under the LGPL-3 (see LICENSE.txt) + This file is licensed under the 2-Clause BSD license (see LICENSE.txt). Connect parameters are provided in query string: http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1 @@ -103,6 +104,7 @@ password = WebUtil.getQueryVar('password', ''); path = WebUtil.getQueryVar('path', 'websockify'); + if ((!host) || (!port)) { updateState('failed', "Must specify host and port in URL"); @@ -112,6 +114,7 @@ rfb = new RFB({'target': $D('noVNC_canvas'), 'encrypt': WebUtil.getQueryVar('encrypt', (window.location.protocol === "https:")), + 'repeaterID': WebUtil.getQueryVar('repeaterID', ''), 'true_color': WebUtil.getQueryVar('true_color', true), 'local_cursor': WebUtil.getQueryVar('cursor', true), 'shared': WebUtil.getQueryVar('shared', true), |