From 69dd52bac3b480ae932452c2bea6bab3de1d9892 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 5 Apr 2018 20:54:56 -0500 Subject: [PATCH] Use generic url for thumbnails --- src/invidious.cr | 2 +- src/views/index.ecr | 2 +- src/views/search.ecr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index 182f6610..c0b22d69 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -312,7 +312,7 @@ get "/watch" do |env| video.description = fill_links(video.description, "https", "www.youtube.com") video.description = add_alt_links(video.description) - thumbnail = "https://i1.ytimg.com/vi/#{id}/mqdefault.jpg" + thumbnail = "https://i.ytimg.com/vi/#{id}/mqdefault.jpg" templated "watch" end diff --git a/src/views/index.ecr b/src/views/index.ecr index d7eaa4dd..9d841a20 100644 --- a/src/views/index.ecr +++ b/src/views/index.ecr @@ -8,7 +8,7 @@
- +

<%= video.title %>

diff --git a/src/views/search.ecr b/src/views/search.ecr index 3da7f42f..df44c253 100644 --- a/src/views/search.ecr +++ b/src/views/search.ecr @@ -8,7 +8,7 @@