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

4

1

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.

Saber.T

Posted 2013-12-09T10:17:49.877

Reputation: 41

Answers

1

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

Firefox console screenshot

user33758

Posted 2013-12-09T10:17:49.877

Reputation:

0

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

NobleMan

Posted 2013-12-09T10:17:49.877

Reputation: 476