The module doesn't support the "no-cookie" mode of youtube, which prevents the site from setting a cookie.
Will be nice to have this option.

I add a patch to enable users to enter links with nocookie urls, and embed it with youtube-nocookie.com domain.

CommentFileSizeAuthor
#2 youtube_nocookie-2856514.patch3.8 KBtamarpe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tamarpe created an issue. See original summary.

tamarpe’s picture

Here is the patch

guschilds’s picture

Hey tamarpe, Thanks for the patch! I'm not sure if I'm going to commit it or not since we try to keep the module as simple as possible and we already have the global module setting for "Enable privacy-enhanced mode." that puts every YouTube video through youtube-nocookie.com/. Do you have a use case that causes you to want to leave that setting off globally, but have only certain videos be served through youtube-nocookie.com/? Because that URL isn't advertised anywhere obvious by YouTube, I figured an individual user being aware of it and using it for their video would be rare. Thoughts?

hermes_costell’s picture

Hi Guschilds:

If your decision is to not allow users to make videos no-cookie on a per-video basis (i.e. allow them to enter in the YouTube url as "youtube-nocookie", then I would suggest that you make a note over at "Valid URL formats include: http://www.youtube.com/watch?v=1SqBdS0XkV4 and http://youtu.be/1SqBdS0XkV4" telling the user they can visit admin/config/media/youtube and click the "Enable privacy-enhanced mode" to make all videos globally less evil-empire.

As an aside though I'm surprised you wouldn't add the feature in the patch. It seems really very simple and quite beneficial.

sleahcc’s picture

Forgive the newbie issue, but I am trying to allow the YouTube no-cookie link on our dev environment (on our internal network). If I select the 'Enable privacy-enhance mode' the video is completely blocked. I see "Requests to the server have been blocked by an extension." I can access and view the no-cookie version of the video by putting the URL in my browser - so our network is not blocking the access for whatever reason. The normal YouTube link works, so accessing https content is not the issue.

What is the 'Enable privacy-enhance mode' actually doing please? What settings is it changing/creating?

guschilds’s picture

Status: Active » Closed (works as designed)

Closing after a year and a half of inactivity.

guschilds’s picture