Skip to content

Commit

Permalink
Merge pull request #1730 from notpushkin/patch-1
Browse files Browse the repository at this point in the history
Add link[rel="alternate"] pointing to YouTube version
  • Loading branch information
Perflyst authored Feb 4, 2021
2 parents 9919520 + e7ada61 commit ec82c1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/invidious/views/watch.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<meta name="twitter:player" content="<%= HOST_URL %>/embed/<%= video.id %>">
<meta name="twitter:player:width" content="1280">
<meta name="twitter:player:height" content="720">
<link rel="alternate" href="https://www.youtube.com/watch?v=<%= video.id %>">
<%= rendered "components/player_sources" %>
<title><%= HTML.escape(video.title) %> - Invidious</title>
<% end %>
Expand Down

0 comments on commit ec82c1f

Please sign in to comment.