I have to use YouTube with an HTTPS connection, because YouTube is banned here (I need it for watching some specific videos from Stanford University). But it seems it uses an HTTP connection for loading videos from the server, so I get this error when I play videos:

An error occurred, please try again later

Isn't there a way for using an HTTPS connection for loading videos too?

(I have no idea why it is banned in my country; it is banned because it is. I hope you understand me.)

4 Answers 4


If you're on Firefox, you can try the Electronic Frontier Foundation's HTTPS Everywhere extension.

It uses a customizable list of URL matches to hijack the browser's page-loading process and redirect to equivalent HTTPS URLs before the network request goes out. YouTube is included and enabled by default.

Otherwise, you may be out of luck. Chrome doesn't allow extensions to do that sort of thing and apparently Google is rolling out SSL gradually, so YouTube doesn't yet seem to have an equivalent to GMail's "always use SSL" option.

Video-loading may or may not be available via SSL, but HTTPS Everywhere generally gives you as much SSL as is possible without breaking the site. If that doesn't work, you may have to either use a VPN service or ask a friend in another country to download the video for you using something like Video DownloadHelper.

  • Thanks, Yes, It seems video-loading isn't available. still that error appears.Seems there is no solution except downloading video or using VPN.
    – Mouliyan
    Commented Oct 26, 2011 at 11:27

Use startpage.com as your home page or search engine. In the field search put 'youtube' and open the provided link. It will load in secure connection. I have never had any problems and it doesn't afect videos at all.

  • If you go to startpage.com and search for a YouTube video, you have to open it through the View by Ixquick Proxy link, which basically embeds the YouTube page, but the video doesn't load.
    – Alex
    Commented Feb 23, 2012 at 1:38
  • But it is itself banned too!
    – Mouliyan
    Commented May 8, 2012 at 13:34

Try enabling the YouTube HTML5 trial. For videos which support HTML5, I have found that they usually stream through HTTPS. If you right click the video and the bottom of the menu says things about Flash, then that particular video doesn't support HTML5 playback. But if it is an HTML5 video, then click Show video info, and you can see if it's streaming through HTTP or HTTPS.


While loading with HTTPS is possible with EFF's HTTPS Everywhere ext (see ssokolow's answer below), if YouTube is blocked, the protocol used should/would not make a difference, since it is the IPs of the server (i.e. or the FQDN (i.e. youtube.com) that is blocked at a ISP or country-wide-proxy level.

Not the answer you're looking for? Browse other questions tagged or ask your own question.