diff options
Diffstat (limited to 'client/src/standalone/videos/embed.html')
-rw-r--r-- | client/src/standalone/videos/embed.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index d4bb74263..f72080937 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html | |||
@@ -101,7 +101,7 @@ | |||
101 | loadVideoInfos(videoId, function (videoInfos) { | 101 | loadVideoInfos(videoId, function (videoInfos) { |
102 | var magnetUri = videoInfos.magnetUri | 102 | var magnetUri = videoInfos.magnetUri |
103 | var videoContainer = document.getElementById('video-container') | 103 | var videoContainer = document.getElementById('video-container') |
104 | var previewUrl = window.location.protocol + '//' + videoInfos.podHost + videoInfos.previewPath | 104 | var previewUrl = window.location.origin + videoInfos.previewPath |
105 | videoContainer.poster = previewUrl | 105 | videoContainer.poster = previewUrl |
106 | 106 | ||
107 | videojs('video-container', { controls: true, autoplay: false }, function () { | 107 | videojs('video-container', { controls: true, autoplay: false }, function () { |