forked from gn-math/html
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path161.html
More file actions
73 lines (65 loc) · 2.21 KB
/
161.html
File metadata and controls
73 lines (65 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html lang="en">
<head>
<base href="https://cdn.jsdelivr.net/gh/bubbls/youtube-playables@main/state%20io/">
<title>state.io yt</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>