12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Mediator - Remote</title>
- <link rel="stylesheet" href="style.css">
- <link rel="icon" type="image/png" href="favicon.png">
-
- <style>
- body {
- margin: 0px;
- }
-
- #screencast-container {
- max-height: calc(100% - 200px);
- height: 100%;
- text-align: center;
- }
-
- #screencast-container {
- background: black;
- }
-
- #screencast {
- max-height: calc(100vh - 200px);
- max-width: 100%;
- }
- </style>
- </head>
-
- <body>
- <div id="screencast-container">
- <img id="screencast" src="/api/remote/screencast">
- </div>
-
- <script src="util.js"></script>
- <script>
- async function main() {
- let screenSize = api("GET", "remote/screen-size");
- let mousePos = api("GET", "remote/mouse-pos");
- }
-
- main();
- </script>
- </body>
- </html>
|