Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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.)

share|improve this question

3 Answers 3

up vote 6 down vote accepted

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.

share|improve this answer
    
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 Oct 26 '11 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.

share|improve this answer
    
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 Feb 23 '12 at 1:38
    
But it is itself banned too! –  Mouliyan May 8 '12 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.

share|improve this answer

protected by Community May 8 '13 at 7:17

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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