{"id":19740,"date":"2015-03-08T22:34:41","date_gmt":"2015-03-09T02:34:41","guid":{"rendered":"http:\/\/ssgreenberg.name\/PoliticsBlog\/?p=19740"},"modified":"2015-04-15T10:40:51","modified_gmt":"2015-04-15T14:40:51","slug":"youtube-nocookie-domain-has-problems-in-firefox-but-not-in-google-chrome","status":"publish","type":"post","link":"https:\/\/ssgreenberg.name\/PoliticsBlog\/2015\/03\/08\/youtube-nocookie-domain-has-problems-in-firefox-but-not-in-google-chrome\/","title":{"rendered":"youtube-nocookie domain has problems in Firefox, but not in Google Chrome"},"content":{"rendered":"<p>I post the link to my problem report, <a title=\"My problem report to the Mozilla community\" href=\"https:\/\/support.mozilla.org\/en-US\/questions\/1050925\" target=\"_blank\">youtube-nocookie domain has problems in Firefox, but not in Google Chrome<\/a>,\u00a0 because I use the &#8220;youtube-nocookie&#8221; domain when I embed YouTube videos in this blog.\u00a0 I do that at the suggestion of YouTube because I presume that avoids putting cookies on your computer when you watch the video.\u00a0 That presumption may be false, but that is a matter for another post.<\/p>\n<p>I have <a title=\"Same as link above to the report\" href=\"hhttps:\/\/support.mozilla.org\/en-US\/questions\/1050925ttp:\/\/\" target=\"_blank\">reported the problem<\/a> to Mozilla the owners of Firefox.\u00a0 It seems that Mozilla and YouTube just point the finger at each other.\u00a0 Since the problem is as yet unsolved, I gave you the link so you can follow the back and forth until the problem gets resolved.\u00a0 You may also find this entertaining and educational if you have experienced this problem on your own, and have been wondering what the issue is.<\/p>\n<p>I have also <a title=\"My reply on YouTube\" href=\"https:\/\/productforums.google.com\/d\/msg\/youtube\/6JmM2mr_r10\/4YtcH_g4vwsJ\" target=\"_blank\">replied to a YouTube support forum question<\/a>.\u00a0 I have had <a title=\"Repsonse on YouTube\" href=\"https:\/\/productforums.google.com\/d\/msg\/youtube\/6JmM2mr_r10\/r-Gg0sxYyRAJ\" target=\"_blank\">a response<\/a> from someone who wants to look into the problem.<\/p>\n<hr class=\"plain\" \/>\n<p>March 9, 2015<\/p>\n<p>My Final response is <a href=\"https:\/\/productforums.google.com\/d\/msg\/youtube\/6JmM2mr_r10\/Cr4L0HvM1McJ\" target=\"_blank\">https:\/\/productforums.google.com\/d\/msg\/youtube\/6JmM2mr_r10\/Cr4L0HvM1McJ<\/a><\/p>\n<blockquote><p>I should have pointed out that the file <a href=\"http:\/\/www.youtube.com\/watch?v=TLT2nV3sWtw\" target=\"_blank\">http:\/\/www.youtube.com\/watch?v=TLT2nV3sWtw<\/a> does exist, but the file <a href=\"http:\/\/www.youtube-nocookie.com\/watch?v=TLT2nV3sWtw\" target=\"_blank\">http:\/\/www.youtube-nocookie.com\/watch?v=TLT2nV3sWtw<\/a> does not. The file is on the www.youtube.com server but not on the www.youtube-nocookie.com. You&#8217;d think that would be an easy oversight to fix. You wouldn&#8217;t think it would take YouTube this long to notice the problem, or that I would have to be the one to point it out. I think YouTube should send me a cookie for finding the problem for them \ud83d\ude42<\/p><\/blockquote>\n<p>If you click on the link of the file that doesn&#8217;t exist, it appears to be blank. If your browser shows URL titles in tabs, then you will see the title &#8220;404 file not found.&#8221; You have to be wide awake to notice that this is how YouTube is trying to deliver the message to you. Would you normally look to the title of the file that surprisingly shows up empty?<\/p>\n<p>Remember, this is a problem that shows up in Firefox and some other browsers, but not in all browsers.<\/p>\n<p>The file that does not exist, does not exist for all browsers. The issue is that YouTube only tries to use the non-existent file for some browsers. So it is not the browser&#8217;s fault that YouTube does this to them.<\/p>\n<p>I found out exactly how YouTube screws things up for other browsers. When I insert a YouTube video in this blog, I use code that accesses a file like https:\/\/www.youtube-nocookie.com\/embed\/TLT2nV3sWtw in an iframe.<\/p>\n<p>When YouTube constructs the contents of the iframe for Firefox, it sets up a video player and gives the player the URL https:\/\/www.youtube-nocookie.com\/watch?feature=player_embedded&amp;v=TLT2nV3sWtw. When YouTube sets up the same player in the Google Chrome browser, it give the player the URL https:\/\/www.youtube.com\/watch?v=TLT2nV3sWtw. It is smart enough to take out the &#8220;-nocookie&#8221; in the domain name. In other words when it sets up Google Chrome, it gives it a URL that exists. When YouTube (owned by Google) sets up Firefox, it gives it a URL that it knows does not exist.<\/p>\n<p>Of course Google wouldn&#8217;t sabotage browsers from other companies. It just made sure that the setup worked for its own browser, and didn&#8217;t bother to do the same for the other browsers. I am sure it was just an oversight. Google&#8217;s motto is &#8220;Do no harm&#8221;, right?<\/p>\n<hr class=\"plain\" \/>\n<p>March 11, 2015<\/p>\n<p>There is now a <a title=\"reply on Google Product froums\" href=\"https:\/\/productforums.google.com\/d\/msg\/youtube\/6JmM2mr_r10\/K_KAWX47ZwUJ\" target=\"_blank\">reply on the Google Product forums<\/a>.<\/p>\n<blockquote><p>ytcrschmidt 9:36 AM (50 minutes ago)<\/p>\n<p>Hi all,<\/p>\n<p>YouTube developers are aware of the problem, and are working on a solution. I apologize for the inconvenience.<\/p><\/blockquote>\n<hr class=\"plain\" \/>\n<p>March 12, 2015<\/p>\n<p>I have verified that YouTube has fixed the problem. I checked one of the many videos that requests no cookies be used and it is now playing again.<\/p>\n<p>However, if you click on the YouTube icon at the bottom right corner of the video, you still do not get to a working version of the video on YouTube. You get what looks like a blank page. The title of that blank page is &#8220;404 Not Found&#8221;. Google developers are still working to fix that and whatever other problems continue to lurk.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I post the link to my problem report, youtube-nocookie domain has problems in Firefox, but not in Google Chrome,\u00a0 because I use the &#8220;youtube-nocookie&#8221; domain when I embed YouTube videos in this blog.\u00a0 I do that at the suggestion of YouTube because I presume that avoids putting cookies on your computer when you watch the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[166],"tags":[],"class_list":{"0":"post-19740","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-stevegsposts","7":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/posts\/19740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/comments?post=19740"}],"version-history":[{"count":16,"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/posts\/19740\/revisions"}],"predecessor-version":[{"id":20373,"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/posts\/19740\/revisions\/20373"}],"wp:attachment":[{"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/media?parent=19740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/categories?post=19740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssgreenberg.name\/PoliticsBlog\/wp-json\/wp\/v2\/tags?post=19740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}