From 01d23c6191cb91129d2efda8bdab951f41678eb6 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 1 Aug 2018 10:45:45 -0500 Subject: [PATCH] Fix metadata and embed code on watch and embed --- src/invidious/views/embed.ecr | 4 +++- src/invidious/views/watch.ecr | 14 ++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/invidious/views/embed.ecr b/src/invidious/views/embed.ecr index f3613247..b23917db 100644 --- a/src/invidious/views/embed.ecr +++ b/src/invidious/views/embed.ecr @@ -84,7 +84,9 @@ var shareOptions = { url: "<%= host_url %>/<%= video.id %>?<%= host_params %>", title: "<%= video.title %>", description: "<%= description %>", - image: '<%= thumbnail %>' + image: '<%= thumbnail %>', + embedCode: `` }; var player = videojs('player', options, function() { diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 6cbcb19f..545c952d 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -3,23 +3,23 @@ "> - + - - + + - + - + @@ -94,7 +94,9 @@ var shareOptions = { url: "<%= host_url %>/<%= video.id %>?<%= host_params %>", title: "<%= video.title %>", description: "<%= description %>", - image: '<%= thumbnail %>' + image: '<%= thumbnail %>', + embedCode: `` }; var player = videojs('player', options, function() {