How to redirect YouTube's videos URL (googlevideo.com) from HTTPS to https automatically?

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:

To:

(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=""/>
</ruleset>

But it doesn’t seem to work.

2 Answers

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

Firefox console screenshot

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like