diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-08 21:19:57 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-08 21:19:57 +0100 |
commit | 4fab6acb45ceb776dfbcca40519d0522d9f658f7 (patch) | |
tree | 922b5897ad2167697662d5bcc3f7085aa74a0bd4 | |
parent | 067e3f84cebc553c60321b527139aa7703eaa5d8 (diff) | |
download | PeerTube-4fab6acb45ceb776dfbcca40519d0522d9f658f7.tar.gz PeerTube-4fab6acb45ceb776dfbcca40519d0522d9f658f7.tar.zst PeerTube-4fab6acb45ceb776dfbcca40519d0522d9f658f7.zip |
Client: don't use thumbnail in embed video for now
-rw-r--r-- | client/src/standalone/videos/embed.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index 5b0541df3..cb4ebf2d1 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html | |||
@@ -72,12 +72,13 @@ | |||
72 | 72 | ||
73 | var urlParts = window.location.href.split('/') | 73 | var urlParts = window.location.href.split('/') |
74 | var videoId = urlParts[urlParts.length - 1] | 74 | var videoId = urlParts[urlParts.length - 1] |
75 | var videoContainer = document.getElementById('video-container') | ||
76 | 75 | ||
77 | loadVideoInfos(videoId, function (videoInfos) { | 76 | loadVideoInfos(videoId, function (videoInfos) { |
78 | var magnetUri = videoInfos.magnetUri | 77 | var magnetUri = videoInfos.magnetUri |
79 | var thumbnailUrl = 'http://' + videoInfos.podUrl + videoInfos.thumbnailPath | 78 | // FIXME: use poster? |
80 | videoContainer.poster = thumbnailUrl | 79 | // var videoContainer = document.getElementById('video-container') |
80 | // var thumbnailUrl = 'http://' + videoInfos.podUrl + videoInfos.thumbnailPath | ||
81 | // videoContainer.poster = thumbnailUrl | ||
81 | 82 | ||
82 | videojs('video-container', { controls: true, autoplay: false }, function () { | 83 | videojs('video-container', { controls: true, autoplay: false }, function () { |
83 | var player = this | 84 | var player = this |