UNPKG

krying

Version:

krying — games hub, AI, movies, and tools

72 lines (65 loc) • 2.25 kB
<!doctype html> <html lang="en"> <head> <base href="https://cdn.jsdelivr.net/gh/bubbls/youtube-playables@main/state%20io/"> <title>Kobran - state.io</title> <meta charset="utf-8" /> <meta name="description" content="" /> <meta name="format-detection" content="telephone-no" /> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="format-detection" content="telephone=no" /> <script src="https://cdn.jsdelivr.net/gh/bubbls/youtube-playables@main/ytgame.js" nonce="ahujkgjYWpFG19oTpLNlow"></script> <style> body, html { margin: 0; height: 100%; overflow: hidden; background: black; } #game-root { position: absolute; } #game-canvas, #game-root { width: 100%; height: 100%; } </style> <script nonce="ahujkgjYWpFG19oTpLNlow"> (function (b) { console.info("SDK", ytgame.SDK_VERSION); var _loaded = 0; Object.defineProperty(b, "loaded", { set: function (v) { _loaded = v; }, get: function () { return _loaded; } }); b.onLoaded = function (params) { b.ready = true; while (b.cbc.length) { var cb = b.cbc.pop(); cb && cb(params); } }; ytgame.game.firstFrameReady(); b.params = b.params || {}; b.params.ytgame = ytgame; b.onLoaded(ytgame); })((window.__diffbus = { ready: false, cbc: [], params: undefined })); </script> <script defer="defer" src="main.js" nonce="ahujkgjYWpFG19oTpLNlow"></script> <link href="main.css" rel="stylesheet" nonce="ahujkgjYWpFG19oTpLNlow"> </head> <body> <div id="game-root"><canvas id="game-canvas"></canvas></div> </body> </html>