aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone')
-rw-r--r--client/src/standalone/videos/embed.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html
index 0a1c3eadf..365dc3fa2 100644
--- a/client/src/standalone/videos/embed.html
+++ b/client/src/standalone/videos/embed.html
@@ -88,10 +88,9 @@
88 88
89 loadVideoInfos(videoId, function (videoInfos) { 89 loadVideoInfos(videoId, function (videoInfos) {
90 var magnetUri = videoInfos.magnetUri 90 var magnetUri = videoInfos.magnetUri
91 // FIXME: use poster? 91 var videoContainer = document.getElementById('video-container')
92 // var videoContainer = document.getElementById('video-container') 92 var previewUrl = window.location.protocol + '//' + videoInfos.podHost + videoInfos.previewPath
93 // var thumbnailUrl = 'http://' + videoInfos.podUrl + videoInfos.thumbnailPath 93 videoContainer.poster = previewUrl
94 // videoContainer.poster = thumbnailUrl
95 94
96 videojs('video-container', { controls: true, autoplay: false }, function () { 95 videojs('video-container', { controls: true, autoplay: false }, function () {
97 var player = this 96 var player = this