Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using FireFox on Linux and I want to redirect HTTP URLs in YouTube videos to HTTPS. YouTube’s videos are from googlevideo.com so I want to use HTTPS instead of HTTP:

http://r8---sn-qxau5-btqs.googlevideo.com...

To:

https://r8---sn-qxau5-btqs.googlevideo.com...

(r8---sn-qxau5-btqs) may change with every video URL.

I tried HTTPS Everywhere and made this rule:

<ruleset name="googlevideo">
<target host="*.googlevideo.com" />

<rule from="http://([^@:/][^/:@])\.googlevideo\.com/" to="https://$1.googlevideo.com"/>
</ruleset>

But it doesn’t seem to work.

share|improve this question

As of March 2015, all Youtube videos are served through HTTPS by default.

Firefox console screenshot

share|improve this answer

You might want to download and install the plugin called HTTPS Everywhere. It will force all websites into secure mode. If it is available.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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