ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix preview location in embed
Bigard Floriand063f8ca9207
diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.htmlindex d4bb74263a..f720809374 100644--- a/client/src/standalone/videos/embed.html+++ b/client/src/standalone/videos/embed.html@@ -101,7 +101,7 @@loadVideoInfos(videoId, function (videoInfos) {var magnetUri = videoInfos.magnetUrivar videoContainer = document.getElementById('video-container')- var previewUrl = window.location.protocol + '//' + videoInfos.podHost + videoInfos.previewPath+ var previewUrl = window.location.origin + videoInfos.previewPathvideoContainer.poster = previewUrlvideojs('video-container', { controls: true, autoplay: false }, function () {