From e04b7d0f01d8cbdc8871e0439a2bcc71f063d8a5 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 6 May 2019 10:28:20 -0500 Subject: [PATCH] Fix video previews for embeds --- src/invidious/views/components/player.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr index 69699a1e..a9dfe896 100644 --- a/src/invidious/views/components/player.ecr +++ b/src/invidious/views/components/player.ecr @@ -218,7 +218,7 @@ player.httpSourceSelector(); <% end %> player.vttThumbnails({ - src: 'api/v1/storyboards/<%= video.id %>?height=90' + src: location.origin + '/api/v1/storyboards/<%= video.id %>?height=90' }); <% if !params.listen && params.annotations %>