Skip to content

Commit

Permalink
Use "hqdefault" for youtube poster image in video-embed plugin fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
aFarkas committed May 30, 2019
1 parent f5a6c4c commit 1f64e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/video-embed/ls.video-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
var idIndex = Date.now();
var regId = /\{\{id}}/;
var regAmp = /^&/;
var youtubeImg = protocol + '//img.youtube.com/vi/{{id}}/sddefault.jpg';
var youtubeImg = protocol + '//img.youtube.com/vi/{{id}}/hqdefault.jpg';
var youtubeIframe = protocol + '//www.youtube.com/embed/{{id}}?autoplay=1';
var vimeoApi = protocol + '//vimeo.com/api/oembed.json?url=https%3A//vimeo.com/{{id}}';
var vimeoIframe = protocol + '//player.vimeo.com/video/{{id}}?autoplay=1';
Expand Down

0 comments on commit 1f64e06

Please sign in to comment.