Link to home
Start Free TrialLog in
Avatar of Chris Millard
Chris MillardFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Sharing YouTube video on Facebook - force https thumbnail?

I have a hosted website running Wordpress and a plugin that places recent posts from my Facebook page and Twitter feeds onto a specific page.

I am trying to move my site to using https. It is on a dedicated IP with a private SSL certificate.

If I share a YouTube video onto my Facebook page, although the link to the video itself may be an https link, the thumbnail image always appears to be from the non-secure YouTube URL

This is the YouTube video in question in this instance:-

https://www.youtube.com/watch?v=PAD_E1kaYuY&spfreload=10

When I paste this URL into Facebook, the thumbnail image that is shown is:-

http://i.ytimg.com/vi/PAD_E1kaYuY/maxresdefault.jpg

Subsequently, when the plugin loads my social media feeds, my site loses it's padlock because of the YouTube image.

Is there a way to force thumbnails from https://i.ytimg.com rather than http://i.ytimg.com ?
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

https://fbexternal-a.akamaihd.net/safe_image.php?d=AQC4G8cjUTdoWGmD&w=158&h=158&url=http%3A%2F%2Fi.ytimg.com%2Fvi%2FPAD_E1kaYuY%2Fmaxresdefault.jpg&cfs=1&upscale=1&sx=425&sy=0&sw=1080&sh=1080

Open in new window

is the link that I got when I click on the thumbnail properties
Avatar of Chris Millard

ASKER

Look at the url= properties:-

http%3A%2F%2Fi.ytimg.com%2Fvi%2FPAD_E1kaYuY%2Fmaxresdefault.jpg

It seems to be this that is causing me the problem.
ASKER CERTIFIED SOLUTION
Avatar of Chris Millard
Chris Millard
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Solution not found.