fxyoutube/templates/base.html (view raw)
1<!DOCTYPE html>
2<html lang="und"><!--
3
4███████ ██ ██ ██ ██ ██ ███ ██ ██ ██████ ██ ██ ██████ ███████
5██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
6█████ ██ ███ ████ ██ ██ ██ ██ ██ ██ ██ ██████ █████
7██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
8██ ██ ██ ██ ██ ███ ███ ██ ███ ██████ ███████
9██
10██ A better way to embed YouTube videos on Telegram (inspired by FixTweet).
11██
12-->
13<head>
14 <link rel="canonical" href="{{ base_url }}{{ info['id'] }}" />
15 <meta property="theme-color" content="0000FF" />
16 <meta property="twitter:card" content="player" />
17 <meta property="twitter:site" content="{{ info['uploader'] }}" />
18 <meta property="twitter:creator" content="{{ info['uploader'] }} ({{ info['uploader_id'] }})" />
19 <meta property="twitter:title" content="{{ info['title'] }}" />
20 <meta http-equiv="refresh" content="0;url={{ base_url }}{{ info['id'] }}" />
21 <meta property="twitter:player:stream:content_type" content="video/mp4" />
22 <meta property="twitter:player:height" content="{{ info['height'] }}" />
23 <meta property="twitter:player:width" content="{{ info['width'] }}" />
24 <meta property="og:video" content="/proxy/{{ info['id'] }}" />
25 <meta property="og:video:secure_url" content="/proxy/{{ info['id'] }}" />
26 <meta property="og:video:height" content="{{ info['height'] }}" />
27 <meta property="og:video:width" content="{{ info['width'] }}" />
28 <meta property="og:video:duration" content="{{ info['duration'] }}">
29 <meta property="og:video:type" content="video/mp4" />
30 <meta property="twitter:image" content="0" />
31 <meta property="og:title" content="{{ info['title'] }}" />
32 <meta property="og:description" content="{{ info['description'] }}" />
33 <meta property="og:site_name" content="FixYouTube ({{ info['uploader'] }})" />
34</head><body></body></html>