projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d5b18
)
Fix preview location in embed
author
Bigard Florian
<florian.bigard@gmail.com>
Wed, 19 Jul 2017 12:24:40 +0000
(14:24 +0200)
committer
GitHub
<noreply@github.com>
Wed, 19 Jul 2017 12:24:40 +0000
(14:24 +0200)
client/src/standalone/videos/embed.html
patch
|
blob
|
history
diff --git
a/client/src/standalone/videos/embed.html
b/client/src/standalone/videos/embed.html
index d4bb74263a576e49d8d8c432c61a1098d6436556..f7208093747d9ed4ff880f994b1f723d2f283195 100644
(file)
--- 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.magnetUri
var videoContainer = document.getElementById('video-container')
- var previewUrl = window.location.
protocol + '//' + videoInfos.podHost
+ videoInfos.previewPath
+ var previewUrl = window.location.
origin
+ videoInfos.previewPath
videoContainer.poster = previewUrl
videojs('video-container', { controls: true, autoplay: false }, function () {