FIX: Non-secure warning from YouTube thumbnails
YouTube thumbnails where being loaded over `http` even on a `https` loaded page. Causing the browser bar to change from green to yellow ![non-secure content loaded icon](http://i.imgur.com/c4GpwCQ.png)
This commit is contained in:
parent
b77f7ce567
commit
ab1ace099c
|
@ -27,7 +27,7 @@
|
|||
'height': height,
|
||||
'width': width,
|
||||
'padding-top': paddingTop,
|
||||
'background': 'url(http://img.youtube.com/vi/' + id + '/hqdefault.jpg) center center no-repeat',
|
||||
'background': 'url(//img.youtube.com/vi/' + id + '/hqdefault.jpg) center center no-repeat',
|
||||
'cursor': 'pointer',
|
||||
'background-size': 'cover'
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue