X
Tap here to go to the mobile version of the site.

Support Forum

youtube-nocookie domain has problems in Firefox, but not in Google Chrome

Posted

THis problem just started a few days ago. This problem shows up in embedded videos that have been working for months, at least.

I use YouTube's iframe method of embedding. When I use youtube-nocookie domain which is an option that YouTube itself offers to me, when I try to play the embedded video I get the message "An error occured, please try again later. <a target="_blank" href="https://support.google.com/youtube/answer/3037019?p=player_error1&rd=1">Learn More</a>".

The Learn More is a link to https://support.google.com/youtube/answer/3037019?p=player_error1&rd=1 This link is of no help.

I am using Firefox 36.0.1. There is no trouble with the same embedded video in Google Chrome. My Google search on this problem never took me to an item on the Mozilla support page, but I think I will look there next.

Here is a link to a post where I see the problem.

http://ssgreenberg.name/PoliticsBlog/2015/03/04/sen-warren-to-gop-stop-ambushing-workers-rights/

Even when I use the link with youtube-nocookie directly in the Firefox URL bar, I get a blank page. If I take out the -nocookie from the domain in the address bar, the video plays.

THis problem just started a few days ago. This problem shows up in embedded videos that have been working for months, at least. I use YouTube's iframe method of embedding. When I use youtube-nocookie domain which is an option that YouTube itself offers to me, when I try to play the embedded video I get the message "An error occured, please try again later. <a target="_blank" href="https://support.google.com/youtube/answer/3037019?p=player_error1&rd=1">Learn More</a>". The Learn More is a link to https://support.google.com/youtube/answer/3037019?p=player_error1&rd=1 This link is of no help. I am using Firefox 36.0.1. There is no trouble with the same embedded video in Google Chrome. My Google search on this problem never took me to an item on the Mozilla support page, but I think I will look there next. Here is a link to a post where I see the problem. http://ssgreenberg.name/PoliticsBlog/2015/03/04/sen-warren-to-gop-stop-ambushing-workers-rights/ Even when I use the link with youtube-nocookie directly in the Firefox URL bar, I get a blank page. If I take out the -nocookie from the domain in the address bar, the video plays.
Attached screenshots

Chosen solution

The issue with YouTube is that the file http://www.youtube.com/watch?v=TLT2nV3sWtw exists and will get you the correct video.

Right clicking on the player in the window shows the video URL to be - https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw

In the iframe, I had https://www.youtube-nocookie.com/embed/TLT2nV3sWtw. This file exists on www.youtube-nocookie. For Firefox, YouTube changes the request to https://www.youtube-nocookie.com/watch. Notice the word changed to watch from embed. This file exists on youtube.com, but not on youtune-nocookie.com. This is unlike the other file that exists in both domains.

On Google Chrome, on the same iframe, when I right click on the video player to copy the URL, I get https://www.youtube.com/watch?v=TLT2nV3sWtw. So the -nocookie has been removed for Google Chrome, but not for Firefox. This is obviouslty a YouTube "mistake".

Read this answer in context 0

Additional System Details

Installed Plug-ins

  • Intel web components updater - Installs and updates the Intel web components
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.10
  • Creative Cloud Desktop Plugin.v_2_0_0_0
  • Citrix Online App Detector Plugin
  • Version 5.40.2.0
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.31.2 for Mozilla browsers
  • NPWLPG
  • Picasa plugin
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • np-rf-plugin
  • Shockwave Flash 16.0 r0
  • 5.1.31211.0
  • Synology Surveillance Web Plugin 1.0.0.565
  • VLC media player Web Plugin 2.1.3
  • Zoom Launcher

Application

  • Firefox 36.0.1
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
  • Support URL: https://support.mozilla.org/1/firefox/36.0.1/WINNT/en-US/

Extensions

  • Adblock Plus 2.6.7 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • AddThis 3.6.5 ({3e0e7d2a-070f-4a47-b019-91fe5385ba79})
  • Classic Theme Restorer 1.2.9.6 (ClassicThemeRestorer@ArisT2Noia4dev)
  • DrupalForFirebug 2.2.1 (DrupalForFirebug@drupal.org)
  • F.B. Purity - Cleans Up Facebook 9.3.2 (fbp@fbpurity.com)
  • Firebug 2.0.8 (firebug@software.joehewitt.com)
  • Lightbeam 1.2.1 (jid1-F9UJ2thwoAm5gQ@jetpack)
  • Old Default Image Style 3.0.6 (olddefaultimagestyle@dagger2-addons.mozilla.org)
  • RoboForm Toolbar for Firefox 7.9.12.2 ({22119944-ED35-4ab1-910B-E619EA06A115})
  • MyWordTool 0.1 (emily@wilford.biz) (Inactive)
  • Norton Toolbar 2014.7.10.26 ({2D3F3651-74B9-4795-BDEC-6DA2F431CB62}) (Inactive)
  • NoScript 2.6.9.16 ({73a6fe31-595d-460b-a920-fcc0f8843232}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: AMD Radeon HD 7570
  • adapterDescription2:
  • adapterDeviceID: 0x675d
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 1024
  • adapterRAM2:
  • adapterSubsysID: 2b221028
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • clearTypeParameters: Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16571
  • driverDate: 12-19-2012
  • driverDate2:
  • driverVersion: 9.12.0.0
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (AMD Radeon HD 7570 Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

Misc

  • User JS: No
  • Accessibility: Yes
jscher2000
  • Top 10 Contributor
8773 solutions 71728 answers

Google's scripts tend to be very complex so I'm not diving in to try to figure it out the reason for the following:

In Firefox 36, the embed uses the Flash player plugin and there are problems accessing files on the youtube-nocookie.com server (404 Not Found errors).

In Chrome, the embed uses the HTML5 player.

Now... I don't know why there is this difference, but it may be significant.

Google's scripts tend to be very complex so I'm not diving in to try to figure it out the reason for the following: In Firefox 36, the embed uses the Flash player plugin and there are problems accessing files on the youtube-nocookie.com server (404 Not Found errors). In Chrome, the embed uses the HTML5 player. Now... I don't know why there is this difference, but it may be significant.

Modified by jscher2000

cor-el
  • Top 10 Contributor
  • Moderator
17537 solutions 158574 answers

You can try to switch the default player to the HTML5 media player.

You can try to switch the default player to the HTML5 media player. *http://www.youtube.com/html5

Question owner

cor-el said

You can try to switch the default player to the HTML5 media player.

Who is it that I tell to default to the HTML5 media player. I cannot find a way to do it in Firefox.

I did try to do that on YouTube. On the following page:

https://www.youtube.com/html5

which I just noticed is the page you suggested, there is a button to "Request the HTML5 player", but it did not help.

''cor-el [[#answer-701129|said]]'' <blockquote> You can try to switch the default player to the HTML5 media player. *http://www.youtube.com/html5 </blockquote> Who is it that I tell to default to the HTML5 media player. I cannot find a way to do it in Firefox. I did try to do that on YouTube. On the following page: https://www.youtube.com/html5 which I just noticed is the page you suggested, there is a button to "Request the HTML5 player", but it did not help.

Modified by ssg13565

Question owner

jscher2000 said

In Firefox 36, the embed uses the Flash player plugin and there are problems accessing files on the youtube-nocookie.com server (404 Not Found errors).

The YouTube embed player just says ""An error occured, please try again later. " When I use the same link directly in the URL address bar of Firefox, I just get a blank page in a new tab. I just noticed that the name of the tab for that blank page is "404 Not Found". I had not noticed that before. Sarcasm -> Real helpful for YouTube to do that.

It would be nice if someone at either Mozilla or YouTube would accept the blame for this problem and try to fix it rather than just point the finger at the other guy.

I followed the instructions on the YouTube help page to right click on the offending embedded player to "report playback issue". I may have been the first person in the world to do that. Not real clever for YouTube to put the right click suggestion on a help page you are not likely to find by yourself. Perhaps YouTube collected enough info when I reported the problem that they can now take responsibility for fixing it.

You'd think that they would want their stuff to work with Firefox, a very popular browser.

''jscher2000 [[#answer-701125|said]]'' <blockquote> In Firefox 36, the embed uses the Flash player plugin and there are problems accessing files on the youtube-nocookie.com server (404 Not Found errors). </blockquote> The YouTube embed player just says ""An error occured, please try again later. " When I use the same link directly in the URL address bar of Firefox, I just get a blank page in a new tab. I just noticed that the name of the tab for that blank page is "404 Not Found". I had not noticed that before. Sarcasm -> Real helpful for YouTube to do that. It would be nice if someone at either Mozilla or YouTube would accept the blame for this problem and try to fix it rather than just point the finger at the other guy. I followed the instructions on the YouTube help page to right click on the offending embedded player to "report playback issue". I may have been the first person in the world to do that. Not real clever for YouTube to put the right click suggestion on a help page you are not likely to find by yourself. Perhaps YouTube collected enough info when I reported the problem that they can now take responsibility for fixing it. You'd think that they would want their stuff to work with Firefox, a very popular browser.

Modified by ssg13565

Question owner

There is also a conversation about this on the YouTube support forum where I have made a reply, and have gotten an offer of help.

The link to my original reply is https://productforums.google.com/d/msg/youtube/6JmM2mr_r10/4YtcH_g4vwsJ. Perhaps experts from the two communities can get together to resolve this. I have given them the link to this report on Mozilla.

There is also a conversation about this on the YouTube support forum where I have made a reply, and have gotten an offer of help. The link to my original reply is https://productforums.google.com/d/msg/youtube/6JmM2mr_r10/4YtcH_g4vwsJ. Perhaps experts from the two communities can get together to resolve this. I have given them the link to this report on Mozilla.

Question owner

To add some clarification, the following URL works just fine:

https://www.youtube.com/watch?feature=player_embedded&v=TLT2nV3sWtw

Just add the -nocookie and it no longer works. The failing URL is

https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw

When I got the blank page for the failing URL, I decided to look at the page source. I'll display it below. I have pretty printed it so you can analyze the code more easily.

   <!DOCTYPE html>
     <html>
       <head>
         <style>* { margin:0;padding:0;border:0}html,body{height:100%;}</style>
         <title>404 Not Found</title>
      </head>
      <body>
        <iframe style="display:block;border:0;"
          src="/error?src=404&ifr=1&error="
          width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
     </body>
   </html>


What the heck kind of display do you suppopse YouTube expected with code like this. There is no visible content to be displayed? There is only the title of the page that has a chance of displaying anything.

To add some clarification, the following URL works just fine: https://www.youtube.com/watch?feature=player_embedded&v=TLT2nV3sWtw Just add the -nocookie and it no longer works. The failing URL is https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw When I got the blank page for the failing URL, I decided to look at the page source. I'll display it below. I have pretty printed it so you can analyze the code more easily. &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;style&gt;* { margin:0;padding:0;border:0}html,body{height:100%;}&lt;/style&gt; &lt;title&gt;404 Not Found&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;iframe style="display:block;border:0;" src="/error?src=404&amp;ifr=1&amp;error=" width="100%" height="100%" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;/body&gt; &lt;/html&gt; What the heck kind of display do you suppopse YouTube expected with code like this. There is no visible content to be displayed? There is only the title of the page that has a chance of displaying anything.

Modified by ssg13565

jscher2000
  • Top 10 Contributor
8773 solutions 71728 answers

Helpful Reply

Hi ssg13565, I don't know why that 404 page has an iframe in it. Very strange. But I think the 404 page is a symptom of an earlier problem yet to be determined and is not itself the problem.

Hi ssg13565, I don't know why that 404 page has an iframe in it. Very strange. But I think the 404 page is a symptom of an earlier problem yet to be determined and is not itself the problem.

Question owner

Yes, the 404 page thing is a complete red herring. The 404 problem is due to picking out the embed URL and trying it directly. That is not the correct way to get a stand-alone URL.

I think the correct stand-alone URL is https://www.youtube-nocookie.com/embed/TLT2nV3sWtw

I have verified that the direct URL works in Google Chrome. It does not work in Firefox. With this URL in Firefox, I do not get the "404 not found" error. I get a video player that displays the correct image at first. If I then click on the play button, I get "An error occurred, please try again later" just like I get for the embedded version.

Yes, the 404 page thing is a complete red herring. The 404 problem is due to picking out the embed URL and trying it directly. That is not the correct way to get a stand-alone URL. I think the correct stand-alone URL is https://www.youtube-nocookie.com/embed/TLT2nV3sWtw I have verified that the direct URL works in Google Chrome. It does not work in Firefox. With this URL in Firefox, I do not get the "404 not found" error. I get a video player that displays the correct image at first. If I then click on the play button, I get "An error occurred, please try again later" just like I get for the embedded version.

Question owner

I may be on to something here.

My embed code is the following:

   <div style="text-align:center">
       <iframe src="https://www.youtube-nocookie.com/embed/TLT2nV3sWtw?rel=0" style="border:thick ridge #009900;" allowfullscreen="" height="315" width="560"></iframe>
   </div>

However, if I right click on the player and ask it to copy the video URL, this is what I get:

https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw

This is the URL that produces the page not found when I use it directly. This may be what the embed player is inadequately trying to tell me.

Perhaps YouTube has changed what is an acceptable URL. Maybe the iframe code at https://www.youtube-nocookie.com/embed/ is screwing up the the call to the player that it gives to Firefox.

I may be on to something here. My embed code is the following: &lt;div style="text-align:center"> &lt;iframe src="https://www.youtube-nocookie.com/embed/TLT2nV3sWtw?rel=0" style="border:thick ridge #009900;" allowfullscreen="" height="315" width="560">&lt;/iframe> &lt;/div> However, if I right click on the player and ask it to copy the video URL, this is what I get: https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw This is the URL that produces the page not found when I use it directly. This may be what the embed player is inadequately trying to tell me. Perhaps YouTube has changed what is an acceptable URL. Maybe the iframe code at https://www.youtube-nocookie.com/embed/ is screwing up the the call to the player that it gives to Firefox.

Question owner

View the source code at https://www.youtube-nocookie.com/embed/TLT2nV3sWtw

In the source code there is a line that says

   <link rel="canonical" href="http://www.youtube.com/watch?v=TLT2nV3sWtw">
   

The URL http://www.youtube.com/watch?v=TLT2nV3sWtw is valid.

Now put in the stuff from the Flash copied URL. http://www.youtube.com/watch?feature=player_embedded&v=TLT2nV3sWtw. That still works. Well, of course there is no -nocookie in there.

What if I put the -nocookie into the link line.

   <link rel="canonical" href="http://www.youtube-nocookie.com/watch?v=TLT2nV3sWtw">
   

http://www.youtube-nocookie.com/watch is the file that does not exist.

View the source code at https://www.youtube-nocookie.com/embed/TLT2nV3sWtw In the source code there is a line that says <link rel="canonical" href="http://www.youtube.com/watch?v=TLT2nV3sWtw"> The URL http://www.youtube.com/watch?v=TLT2nV3sWtw is valid. Now put in the stuff from the Flash copied URL. http://www.youtube.com/watch?feature=player_embedded&v=TLT2nV3sWtw. That still works. Well, of course there is no -nocookie in there. What if I put the -nocookie into the link line. <link rel="canonical" href="http://www.youtube-nocookie.com/watch?v=TLT2nV3sWtw"> http://www.youtube-nocookie.com/watch is the file that does not exist.
jscher2000
  • Top 10 Contributor
8773 solutions 71728 answers

A "canonical" URL tag indicates that the site prefers search engines to only index the canonical URL instead of the current one. This avoids a duplicate content penalty. Firefox doesn't do anything with this tag -- I'm not aware of a way to signal to Firefox to use that canonical URL instead of the current one.

A "canonical" URL tag indicates that the site prefers search engines to only index the canonical URL instead of the current one. This avoids a duplicate content penalty. Firefox doesn't do anything with this tag -- I'm not aware of a way to signal to Firefox to use that canonical URL instead of the current one.

Chosen Solution

The issue with YouTube is that the file http://www.youtube.com/watch?v=TLT2nV3sWtw exists and will get you the correct video.

Right clicking on the player in the window shows the video URL to be - https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw

In the iframe, I had https://www.youtube-nocookie.com/embed/TLT2nV3sWtw. This file exists on www.youtube-nocookie. For Firefox, YouTube changes the request to https://www.youtube-nocookie.com/watch. Notice the word changed to watch from embed. This file exists on youtube.com, but not on youtune-nocookie.com. This is unlike the other file that exists in both domains.

On Google Chrome, on the same iframe, when I right click on the video player to copy the URL, I get https://www.youtube.com/watch?v=TLT2nV3sWtw. So the -nocookie has been removed for Google Chrome, but not for Firefox. This is obviouslty a YouTube "mistake".

The issue with YouTube is that the file http://www.youtube.com/watch?v=TLT2nV3sWtw exists and will get you the correct video. Right clicking on the player in the window shows the video URL to be - https://www.youtube-nocookie.com/watch?feature=player_embedded&v=TLT2nV3sWtw In the iframe, I had https://www.youtube-nocookie.com/embed/TLT2nV3sWtw. This file exists on www.youtube-nocookie. For Firefox, YouTube changes the request to https://www.youtube-nocookie.com/watch. Notice the word changed to watch from embed. This file exists on youtube.com, but not on youtune-nocookie.com. This is unlike the other file that exists in both domains. On Google Chrome, on the same iframe, when I right click on the video player to copy the URL, I get https://www.youtube.com/watch?v=TLT2nV3sWtw. So the -nocookie has been removed for Google Chrome, but not for Firefox. This is obviouslty a YouTube "mistake".