christopher commited on
Commit
75d4a56
·
1 Parent(s): a57876d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +15 -24
index.html CHANGED
@@ -1,24 +1,15 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>
13
- You can modify this app directly by editing <i>index.html</i> in the
14
- Files and versions tab.
15
- </p>
16
- <p>
17
- Also don't forget to check the
18
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank"
19
- >Spaces documentation</a
20
- >.
21
- </p>
22
- </div>
23
- </body>
24
- </html>
 
1
+ <iframe
2
+ width="680"
3
+ height="400"
4
+ frameborder="0"
5
+ src="https://dos.zone/player/?bundleUrl=https%3A%2F%2Fcdn.dos.zone%2Fcustom%2Fdos%2Fdoom.jsdos?anonymous=1"
6
+ allowfullscreen>
7
+ </iframe>
8
+ <!--
9
+ Message 'dz-player-exit' will be fired when js-dos is exited:
10
+
11
+ window.addEventListener("message", (e) => {
12
+ if (e.data.message === "dz-player-exit") {
13
+ // ...
14
+ }
15
+ });