Merge pull request #3216 from techAPJ/patch-2
FIX: non-secure warning from YouTube thumbnails
This commit is contained in:
commit
84156c7bde
|
@ -91,7 +91,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$thumb = $el.find('.ytp-thumbnail').css({
|
$thumb = $el.find('.ytp-thumbnail').css({
|
||||||
'background-image': ['url(http://img.youtube.com/vi/', id, '/', thumb_img, ')'].join('')
|
'background-image': ['url(//img.youtube.com/vi/', id, '/', thumb_img, ')'].join('')
|
||||||
})
|
})
|
||||||
.addClass('lazyYT-image-loaded')
|
.addClass('lazyYT-image-loaded')
|
||||||
.on('click', function (e) {
|
.on('click', function (e) {
|
||||||
|
|
Loading…
Reference in New Issue