diff options
Diffstat (limited to 'client')
-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 |