fix the build.

fix the build.

diff --git a/plugins/lazy-yt/assets/javascripts/lazyYT.js b/plugins/lazy-yt/assets/javascripts/lazyYT.js
index f62cb7a..897c154 100644
--- a/plugins/lazy-yt/assets/javascripts/lazyYT.js
+++ b/plugins/lazy-yt/assets/javascripts/lazyYT.js
@@ -98,7 +98,7 @@
     }
 
     $thumb = $el.find('.ytp-thumbnail').css({
-      'background-image': `url(http://img.youtube.com/vi/${id}/${thumb_img})`
+      'background-image': ['url(https://img.youtube.com/vi/', id, '/', thumb_img, ')'].join('')
     })
     .addClass('lazyYT-image-loaded')
     .on('click', function (e) {

GitHub sha: ec84b00a

(Followup to 4c3a01f5)

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/youtube-thumbnails-not-displaying-in-firefox/149399/5