ashleydw / lightbox

A lightbox gallery plugin for Bootstrap
http://ashleydw.github.io/lightbox
MIT License
1.85k stars 1.3k forks source link

Add youtube-nocookie supprt #201

Closed hellboy81 closed 8 years ago

hellboy81 commented 8 years ago

Please add support for youtube-nocookie to embed youtube videos with regard to European (Germany etc..) privacy protection compliance.

May be as follows:

data-toggle="lightbox" data-norelated="true" data-nocookie="true"

See also court decision:

http://www.complexum.de/youtube-videos-ohne-setzen-von-cookies-durch-drittanbieter-auf-ihrer-webseite-einbinden/

Auto-translation EN-DE: https://goo.gl/IKc4bv

Otherwise you can get warning letters from a lawyer!

ashleydw commented 8 years ago

Interesting, please make a PR following similar options.

SgtOddball commented 8 years ago

I'd be interesting in passing data-tags over but with regards to the noCookie requirement, oh boy have they still not given up on that yet?

ashleydw commented 8 years ago

In #166 you will be able to pass any query string to the url, but as of now, I don't plan on implementing nocookie, instead you should set your remote to the correct url.