vocaliu / chrome-redirector

Automatically exported from code.google.com/p/chrome-redirector
GNU General Public License v3.0
0 stars 0 forks source link

[RULE] Redirect of Youtube #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

i am kinda new to this tool but i like it already. It does nearly what i want 
but i guess i am simple to stupid the get it done correctly. My problem is i 
have currently a redirect running which replaces all www.youtube.com URLS to 
us.www.youtube.com

The problem is if i open external webpages (like facebook) where embed Youtube 
video are included it redirect the video also and this ends into a internal 
server error. 

So is there a way to redirect only Links in my address bar? No matter if its an 
url typed by hand or a link i clicked? And nothing else? I would be really 
happy if you or someone else can help me with this issue :) - thank you in 
advance

Original issue reported on code.google.com by its.cre...@googlemail.com on 1 Apr 2012 at 4:23

Attachments:

GoogleCodeExporter commented 8 years ago
I doubt if you made a mistake in your description above, as us.www.youtube.com 
has no DNS record (IPv4/IPv6).

However, I've composed a rule according to your description to redirect 
www.youtube.com to us.www.youtube.com. I assumed all embedded videos of youtube 
are in the form of http://www.youtube.com/embed/ or 
https://www.youtube.com/embed/, which may be biased.

Please tell me if it works.

Original comment by cws.de...@gmail.com on 1 Apr 2012 at 4:52

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

And no its not mistake this us.www.youtube.com is fine i have a DNS server who 
can handle it :). Back to the script with this version still have the same any 
kind of embed Youtube Vids e.g. on Facebook does not work. And for me it looks 
like they gets still redirected to the us.www. Version which should not happens?

Regards - and thank you for the really fast answer above.

Original comment by its.cre...@googlemail.com on 1 Apr 2012 at 8:58

GoogleCodeExporter commented 8 years ago
I see. So could you provide such links contains videos that are not redirected 
properly?

Original comment by cws.de...@gmail.com on 2 Apr 2012 at 2:09

GoogleCodeExporter commented 8 years ago
I've added a content filter. You may try to filter out videos (content type: 
object).

Original comment by CyrilF...@gmail.com on 3 Apr 2012 at 11:49