Skip to content

Instantly share code, notes, and snippets.

@kanaka
Created October 1, 2010 17:37
Show Gist options
  • Save kanaka/606544 to your computer and use it in GitHub Desktop.
Save kanaka/606544 to your computer and use it in GitHub Desktop.
<html>
<!--
noVNC example: simple example using default controls
Copyright (C) 2010 Joel Martin
Licensed under LGPL-3 (see LICENSE.txt)
-->
<head>
<title>VNC Client</title>
<link rel="stylesheet" href="include/plain.css">
<link rel="alternate stylesheet" href="include/black.css" TITLE="Black">
<!--
<script type='text/javascript'
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
-->
<script src="include/util.js"></script>
<script src="include/webutil.js"></script>
<script src="include/base64.js"></script>
<script src="include/des.js"></script>
<script src="include/canvas.js"></script>
<script src="include/rfb.js"></script>
<script src="include/default_controls.js"></script>
<script>
if (window.WebSocket) {
VNC_native_ws = true;
} else {
VNC_native_ws = false;
WEB_SOCKET_SWF_LOCATION = "include/web-socket-js/WebSocketMain.swf";
}
</script>
<script src="include/web-socket-js/swfobject.js"></script>
<script src="include/web-socket-js/FABridge.js"></script>
<script src="include/web-socket-js/web_socket.js"></script>
</head>
<body>
<div id='vnc'>Loading</div>
<script>
window.onload = function () {
DefaultControls.load('vnc');
};
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment