FIX: use absolute URL for YouTube thumbnail images.
This commit is contained in:
parent
76fc48b318
commit
4c3a01f58d
|
@ -98,7 +98,7 @@
|
|||
}
|
||||
|
||||
$thumb = $el.find('.ytp-thumbnail').css({
|
||||
'background-image': ['url(//img.youtube.com/vi/', id, '/', thumb_img, ')'].join('')
|
||||
'background-image': `url(http://img.youtube.com/vi/${id}/${thumb_img})`
|
||||
})
|
||||
.addClass('lazyYT-image-loaded')
|
||||
.on('click', function (e) {
|
||||
|
|
Loading…
Reference in New Issue