Add redirect for youtube embed
hiromipaw

hiromipaw commited on 2017-12-21 13:31:02
Zeige 2 geänderte Dateien mit 3 Einfügungen und 1 Löschungen.

... ...
@@ -84,6 +84,8 @@ RewriteRule ^donate/donor-faq(.*) https://donate.torproject.org/donor-faq [R=302
84 84
 RewriteRule ^donate/donor-privacy-policy(.*) https://donate.torproject.org/privacy-policy [R=302,L]
85 85
 RewriteRule ^donate/thankyou(.*) https://donate.torproject.org/thank-you [R=302,L]
86 86
 RewriteRule ^thankyou(.*) https://donate.torproject.org/thank-you [R=302,L]
87
+RewriteRule ^averyonionthankyou(.*) /averyonionthankyou.html.en [R=302,L]
88
+RewriteRule ^embed/onionvideo(.*) https://www.youtube.com/embed/TXT0F7p7WbM [R=302,L]
87 89
 
88 90
 # The following redirect is necessary because we're using that URL on
89 91
 # some external resources (the donate infrastructure in particular) and
... ...
@@ -1,7 +1,7 @@
1 1
 #include "head.wmi" TITLE="Tor Project | Privacy Online" CHARSET="UTF-8" DONATION_BANNER="true"
2 2
 
3 3
 <div id="home">
4
-<iframe width="560" height="315" src="https://www.youtube.com/embed/TXT0F7p7WbM" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
4
+<iframe width="560" height="315" src="embed/onionvideo" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
5 5
 </div>
6 6
 
7 7
 #include <foot.wmi>
8 8
\ No newline at end of file
9 9