Forum - View topicembedded youtube-nocookie links in News
Goto page 1, 2 Next |
Author | Message | |||||
---|---|---|---|---|---|---|
configspace
Posts: 3717 |
|
|||||
I noticed all the recent News articles with embedded youtube videos reference youtube-nocookie.com instead of youtube.com. For me and a couple others I've seen, it results in an error.
For example: animenewsnetwork.com/news/2015-03-06/kyoto-animation-sound-euphonium-tv-ad-reveals-premiere-date/.85682 The two video links are: https://www.youtube-nocookie.com/watch?v=DhU8qO-qDhM https://www.youtube-nocookie.com/watch?v=Q9K39h910EQ |
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
^
I do not know what it means but when I go to that page, using the link in your post, the videos that I see are at: https://www.youtube.com/watch?v=DhU8qO-qDhM https://www.youtube.com/watch?v=Q9K39h910EQ Maybe which link you get depends on which server you are on here? I am on the regular moeka-chan server. EDIT: I clicked on the video URLs in your post here and got "404 not found" errors for both of them. Is that the problem that you are having? I do get the correct video when I delete "-nocookie" from the URL. |
||||||
|
||||||
configspace
Posts: 3717 |
|
|||||
Thanks for checking it out. I don't know if it's on my end. youtube-nocookie.com apparently Google's own service too.
Firefox browser console shows I'm getting it from server "cloudflare-nginx" It's part of the source sent to me at least from a GET of the .85682 file in the url:
I had to replace the angled brackets in the iframe tag above to get it to show. All of the scripts are missing too. Also, I had to fill out a captcha by cloudflare to post this originally. |
||||||
|
||||||
Dessa
![]() Posts: 4438 |
|
|||||
In Chrome, it works fine. However, I just tried it in Firefox, and I get the same problem with the nocookies. So I think it may be a problem with your settings in Firefox.
I checked my privacy settings (Tools > Options > Privacy) and in the second box for History, I had it set to "Remember History", but even selecting "Use custom settings for history", it says I'm set to accept cookies. So I'm not sure why the redirect to nocookie, and my feeble google-fu is not revealing anything on why it might. But it definitely seems like it's a Firefox issue. |
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
I think that "Tracking" in the privacy setting is the most likely culprit. This is separate from the "History" setting. I am set to allow tracking and have no problems with the video URL. I would change the setting to see if I develop the problem, but I am afraid that it might do something to my stored cookies. I am guessing that the "-nocookie" URL is the equivalent of a "your browser cannot accept cookies" message. If so, I think that the message would have been the better option. |
||||||
|
||||||
Parse Error
![]() Posts: 592 |
|
|||||
The youtube-nocookie.com is coded into the page and is the same when viewing source in browsers where it works. At first I assumed it would be a protocol issue caused by loading the site over https, but after messing around for a while it turned out it doesn't seem to make any difference either way. I tried clearing browser, Flash, and DNS caches to avail, then restarted Firefox (well, Waterfox, but same difference) in safe mode to check if the issue was caused by one or more add-ons, but had no luck with that either. The videos work fine in everything else, so I must have had a different browser open when I originally watched them.
|
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
So it is. I still think that it works for me because of my settings in Firefox. Allowing tracking might remove the "-nocookie" from the URL. If that is the case then it seems to me that either "-nocookie" should not be in the URL or Youtube is supposed to have a video file at that URL, but they do not. Something that I just read makes me think that this nocookie thing is a new YouTube "feature." EDIT: After further reading at cnet I am pretty sure that the problem here is caused by YouTube not having the video files where they should be. EDIT 2: It occurs to me that the videos might work for me because of the settings for my YouTube account, rather than the Firefox settings. |
||||||
|
||||||
configspace
Posts: 3717 |
|
|||||
For my settings, I allowed tracking and all cookies. I tried deleting all youtube and Google cookies, but no luck. I also tried creating a new profile in Firefox, so it has default settings, no add-ons, not logged into google/youtube/or any service, and still does not work.
I noticed Internet Explorer does work. But there, it's not using -nocookie when you click on the title link open the video url. Also I noticed that IE uses the HTML5 player and not flash. I'm guessing that Chrome also uses the HTML5 player. I don't know if it makes a difference though, but even when I set youtube to use HTML5 https://www.youtube.com/html5 the embedded video links still use Flash. It's only when I go to youtube and play a video there does it use HTML5. @Touma, in your Firefox, does the embedded video in the article use Flash or HTML5? You can check by right clicking on the video and the menu will be different. Also, does the source html sent to you still contain the -nocookie embedded link? You can check by "View Page Source" and ctrl+f to search. edit: I found out how to make it work: Disable the Flash Plugin in Firefox ![]() That way it forces the embedded video to use HTML5 and somehow that makes a difference Both profiles (Flash enabled & Flash disabled) gives me the same page with the nocookie link in the iframe:
But the Flash-enabled profile gives me this URL when I click on the video title in the embedded video to open in youtube directly: https://www.youtube-nocookie.com/watch?v=DhU8qO-qDhM Where as the Flash-disabled profile gives me this URL: https://www.youtube.com/watch?v=DhU8qO-qDhM However even with Flash enabled, if I open use iframe src= path directly, it works! http://www.youtube-nocookie.com/embed/DhU8qO-qDhM?rel=0 edit2: I tried this on my Linux machine with Firefox + Flash and it's the same problem (unless I manually paste the "... embed/DhU8qO-qDhM?rel=0" link above) Disabled Flash plugin, reload and it works. |
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
I get the HTML5 player.
The source for the ANN page does have -nocookie. But when I use "Get video URL" or "Get embed code" for the HTML5 player they do not have -nocookie.
My Flash plugin is, and always has been, enabled and set to "Always Activate." I still get the HTML5 player I believe that this is a YouTube problem. They either do not have the -nocookie video files where they should be, or they have a mistake in the URL. But there is also some contributing factor involved, and I do not know what , or where, it is. That unknown factor is why the videos have always worked for me when they have not worked for others. EDIT: For what it's worth I just noticed that with the video URL the difference between what works for me and what gets the 404 error is that the one that works has "/embed/" in the URL and the one that does not work has "watch?v=" in place of that. That is with "-nocookie" also in the URL. Without "-nocookie" "embed" and "watch" both work. |
||||||
|
||||||
configspace
Posts: 3717 |
|
|||||
Appreciate the troubleshooting and additional data.
One more thing I'd like to check with you: With Flash enabled, if you switch back to flash by choosing "Use the default player": https://www.youtube.com/html5 and reload the page so the embedded video uses Flash instead, does it still work for you? |
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
Sorry, but I do not see that option. I see a message telling me "The HTML5 player is currently used when possible" but there is no way to change that. The only setting that I see on that page are for language, countey, and "safety." That page also tells me that my browser supports everything except "MSE & WebM VP9 ", which I have never even heard of. |
||||||
|
||||||
ANN_Lynzee
ANN Executive Editor
![]() Posts: 2991 Location: Email for assistance only |
|
|||||
It's a YouTube embed feature.
Go to "Share" then "embed" on a YouTube video. Click "enable privacy-enhanced mode." That's what we select before embedding a video into our articles. It isn't a new feature, insomuch as it's existed for two or so years. There's more information if you click the [?] next to the box https://support.google.com/youtube/answer/171780?expand=PrivacyEnhancedMode#privacy |
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
I hope that by "it" you mean "-nocookie", and not the error that we are discussing. ![]()
Thank you. I should have noticed that the C/NET article that I was reading yesterday was written six years ago, but somehow I did not. ![]() |
||||||
|
||||||
configspace
Posts: 3717 |
|
|||||
Are you running Firefox on OSX or Win8+?
Thanks for the info. I can use that for some inquiries or bug reports. |
||||||
|
||||||
Touma
![]() Posts: 2651 Location: Colorado, USA |
|
|||||
^
I am running Firefox 37.0 beta on Windows7 sp1 64 bit. |
||||||
|
||||||
All times are GMT - 5 Hours |
||
|
Powered by phpBB © 2001, 2005 phpBB Group