Client: don't use thumbnail in embed video for now
authorChocobozzz <florian.bigard@gmail.com>
Tue, 8 Nov 2016 20:19:57 +0000 (21:19 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Tue, 8 Nov 2016 20:19:57 +0000 (21:19 +0100)
client/src/standalone/videos/embed.html

index 5b0541df3abd6667a4cb2e5f70105a084a23a0a7..cb4ebf2d1577d7740523fd3a9ea6ee0f386bf923 100644 (file)
 
   var urlParts = window.location.href.split('/')
   var videoId = urlParts[urlParts.length - 1]
-  var videoContainer = document.getElementById('video-container')
 
   loadVideoInfos(videoId, function (videoInfos) {
     var magnetUri = videoInfos.magnetUri
-    var thumbnailUrl = 'http://' + videoInfos.podUrl + videoInfos.thumbnailPath
-    videoContainer.poster = thumbnailUrl
+    // FIXME: use poster?
+    // var videoContainer = document.getElementById('video-container')
+    // var thumbnailUrl = 'http://' + videoInfos.podUrl + videoInfos.thumbnailPath
+    // videoContainer.poster = thumbnailUrl
 
     videojs('video-container', { controls: true, autoplay: false }, function () {
       var player = this