all repos — FixYouTube-legacy @ a13a971a88c1b0db81a1df2db381ac58a5ce94e0

A better way to embed YouTube videos everywhere (inspired by FixTweet).

fix video title
Marco Andronaco andronacomarco@gmail.com
Tue, 22 Aug 2023 00:10:54 +0200
commit

a13a971a88c1b0db81a1df2db381ac58a5ce94e0

parent

476e2ef39e5caac3491a4e3f9c4a7d3635d217f4

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M fxyoutube/templates/base.htmlfxyoutube/templates/base.html

@@ -5,8 +5,8 @@ <link rel="canonical" href="{{ base_url }}{{ info['id'] }}" />

<meta property="theme-color" content="0000FF" /> <meta property="twitter:card" content="player" /> <meta property="twitter:site" content="{{ info['uploader'] }}" /> - <meta property="twitter:creator" content="{{ info['uploader'] }}" /> - <meta property="twitter:title" content="{{ info['uploader'] }} ({{ info['uploader_id'] }})" /> + <meta property="twitter:creator" content="{{ info['uploader'] }} ({{ info['uploader_id'] }})" /> + <meta property="twitter:title" content="{{ info['title'] }}" /> <me ta http-equiv="refresh" content="0;url={{ base_url }}{{ info['id'] }}" /> <meta property="twitter:player:stream:content_type" content="video/{{ info['video_ext'] }}" /> <meta property="twitter:player:height" content="{{ info['height'] }}" />