oEmbed
This commit is contained in:
parent
f35948ed9c
commit
b73a88f05d
2 changed files with 15 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
<meta property="og:url" content="https://rewrite.shark.tobot.dev/" />
|
<meta property="og:url" content="https://rewrite.shark.tobot.dev/" />
|
||||||
|
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:site_name" content="Shark Game" />
|
||||||
<meta name="image" property="og:image" content="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
<meta name="image" property="og:image" content="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
||||||
<meta property="og:image:secure_url" content="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
<meta property="og:image:secure_url" content="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@
|
||||||
<link rel="image_src" href="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
<link rel="image_src" href="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
||||||
<link rel="apple-touch-icon" href="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
<link rel="apple-touch-icon" href="https://rewrite.shark.tobot.dev/sharkgame.png" />
|
||||||
|
|
||||||
|
<link type="application/json+oembed" href="/oEmbed.json" />
|
||||||
|
|
||||||
<!-- This loads the actual game -->
|
<!-- This loads the actual game -->
|
||||||
<link rel="stylesheet" type="text/css" href="./build/bundle.css" />
|
<link rel="stylesheet" type="text/css" href="./build/bundle.css" />
|
||||||
<script type="module" src="./build/bundle.js"></script>
|
<script type="module" src="./build/bundle.js"></script>
|
||||||
|
|
12
public/oEmbed.json
Normal file
12
public/oEmbed.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"type": "link",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"title": "Shark Game",
|
||||||
|
"author_name": "Toby",
|
||||||
|
"author_url": "https://tobot.dev/",
|
||||||
|
"provider_name": "Shark Game",
|
||||||
|
"provider_url": "https://rewrite.shark.tobot.dev/",
|
||||||
|
"thumbnail_url": "https://rewrite.shark.tobot.dev/sharkgame.png",
|
||||||
|
"thumbnail_width": 200,
|
||||||
|
"thumbnail_height": 200
|
||||||
|
}
|
Reference in a new issue