Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    normally the thumbnail URL returned by the YouTube API is https already. if no YouTube response is available or if no thumbnail is in the reponse, the plugin falls back to a URL without the protocal (//i.ytimg.com/vi/videoIDhere/hqdefault.jpg).

    so this should not happen actually, but if it does you could use the lyte_match_thumburl filter to override the thumbnail URL with a couple of lines of code like this;

    add_filter('lyte_match_thumburl','alen_thumburl',10,1);
    function alen_thumburl($thumb) {
            $thumbOut=str_replace("http://","https://",$thumb);
            return $thumbOut;
    }

    frank

Viewing 1 replies (of 1 total)
  • The topic ‘How to make Screenshot Picture Secure’ is closed to new replies.