fixyoutube/templates/index.html (view raw)
1
2<!doctype html>
3<html lang="en">
4
5<head>
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <meta property="og:title" content="FixYouTube" />
9 <meta property="og:site_name" content="FixYouTube" />
10 <meta property="og:description" content="Embed YouTube videos on Telegram, Discord and more!" />
11 <title>FixYouTube</title>
12
13 <link rel="icon"
14 href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🛠</text></svg>">
15 <link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
16
17</head>
18
19<body onload="code = document.createElement('code'); code.innerText = window.location.host; document.getElementById('changeme').replaceWith(code);">
20 <main class="container" style="max-width: 35rem">
21 <hgroup>
22 <h1>FixYouTube</h1>
23 <h2>Embed YouTube videos on Telegram, Discord and more!</h2>
24 </hgroup>
25 <p>FixYouTube serves fixed YouTube video embeds. Heavily inspired by <a href="https://fxtwitter.com">fxtwitter.com</a> and <a href="https://ddinstagram.com">ddinstagram.com</a>.</p>
26
27 <section>
28 <header>
29 <h3 style="margin-bottom: 4px">How to Use</h3>
30 <p>Replace <code>www.youtube.com</code> or <code>youtu.be</code> with <span id="changeme">this domain</span> to fix embeds for short videos.</p>
31 </header>
32 <video
33 src="https://github.com/BiRabittoh/FixYouTube/assets/26506860/2896d39e-a86e-47ce-939a-785b73d11683"
34 controls="controls" muted="muted" style="width: 100%; max-height: 100%;">
35 Your browser does not support the video tag.
36 </video>
37 <hr>
38 <small><a href="{{ repo_url }}" target="_blank">Source code available in GitHub!</a></small>
39 <br>
40 <small>• YouTube is a trademark of Google LLC. This app is not affiliated with Google LLC.</small>
41 </section>
42 </main>
43</body>
44
45</html>