Onebox Iframe/Cookies e.g. Vimeo (GDPR)

I totally like the QoL oneboxes bring to the Discourse users. However, i stumbled upon the following ‘issue’:

  • While Youtube for example is embedded via LazyYT and therefore doesn’t load the iframe and attached cookies until the users presses play, this functionally seems to be absent for every other player onebox.
  • Vimeo for example loads the entire iframe, player and cookies on page load

Therefore my question: Is it planned to replicate the LazyYT functionality on other oneboxes like Vimeo or how would be the best way to go about it on my own. I am aware that i am able to simply blacklist Vimeo and the like which only should be my last resort, though.

I know it is debatable if this is necessary to comply with GDPR, but nonetheless I think better control over embedded 3rd party content would be worthwhile as the LazyYT example shows to some extent.

「いいね!」 6

I know we are all dealing with lots of GDPR edge cases, but not sure what the Iframe risk is? AFAIK Iframe cannot access parent cookies?

I may be wrong of course…

「いいね!」 3

As I see it every of those iframes transfers IP, and load third-party non-essential cookies for every user (also not registered ones) before they are able to agree with that.

Apart from that especially topics with multiple embeds could run into performance issues when for example 10 players are loading at the same time.

LazyYT does it pretty fine I think, and Preview in post creation. (Option for a 3rd party hint on top of the preview image could be helpful, too)

「いいね!」 2

I’ve noticed a few European websites now let the user decide whether they want to see embedded content. This is especially useful for sites that are known to follow you around the web and build a profile even if you haven’t signed up with them. I’d like to give community members that kind of control over their privacy.

:white_check_mark: show content from Facebook

Something like this near every embed or in the user preferences might be too much for some, though. A more seamless alternative could be Embetty:
https://github.com/heiseonline/embetty

「いいね!」 5

Have you found a solution to implement this in Discourse? I would also be interested in it.

No, I haven’t tried because of a severe lack of skills.

「いいね!」 1

Maybe a first simple step would be to implement a general option in the user settings to enable/disable 3rd party content, activating/deactivating the onebox feature on a per user base?

We are also craving for an option like this, but are not really able to implement it.

「いいね!」 2

Unfortunately that is not enough. As anonymous traffic falls also under GDPR.

This is what most websites do currently in the EU:

Before clicking the switch:

After clicking the switch:

「いいね!」 2

ユーザーから懸念が寄せられた後にこのトピックを見つけました。Discourse は、ユーザーの同意なしに YouTube からコンテンツ(動画の画像)を読み込みます。また、ユーザーが動画をクリックしたときにそれが何を意味するのか、ユーザーに情報を示すことができません。そのため、Discourse が YouTube からさらに多くのスクリプトなどを読み込むことを考えると、YouTube に情報を送信することに対する有効な同意であるとは疑わしいです。

OneBoxing を無効にする以外に、Discourse を GDPR に準拠させる方法はありますか?

厳密に言えば、サードパーティの URL から画像を埋め込むことも問題となります。これは無効にできますか?

「いいね!」 1

YouTubeに関しては、GDPRに関する問題は特にありません。GDPRを遵守する責任はサードパーティにあるとユーザーに伝えればよいのです。実際には、YouTube/Googleもそうしています。例えば、Analyticsでも同じことです。TikTokはもっと大きな疑問符がつきます。

画像に関しては、私の知る限り個人データを漏洩しているわけではありません。

申し訳ありませんが、そうではありません。それほど単純ではありません。

ウェブサイトがサードパーティからブラウザにリソースをリクエストする場合、IPアドレスは(避けられない理由により)サードパーティに送信されます。そして、このウェブサイトのオペレーターは、そのデータ転送に対して責任を負うことになります。IPアドレスは個人を特定するために使用できるため、GDPRによって保護されています。

そのため、ウェブサイトはGoogle Fontsから参照するのではなく、独自のサーバーでフォントをホストするようにしています。Googleからの最初のヒットはこちらです: Google Fonts and GDPR: How to Stay Compliant? - CookieYes

はい、その通りです。IPアドレスは個人を特定するには役に立たないため、保護されていません。これは、必要とされる限り、常に使用および保存が許可される技術データの一部です。

どちらの法域にお住まいか分かりませんが、私の法域では、ユーザーの同意なしにGoogleフォントを使用することはGDPRに準拠していないと裁判所がすでに判決を下しています。

私の知る限り、これは正当な懸念事項です。Metaで以前にも質問されています: https://meta.discourse.org/t/embed-youtube-videos-with-enhanced-privacy-mode-youtube-nocookie-com/216469。過去にプライベートサポートでサイトオーナーを支援しようとしたこともあります。

上記で投稿したリンクには、代替のyoutube-nocookie.comドメインに関する詳細があります。DiscourseのYouTubeワンボックスで、このドメインから動画を埋め込むオプションを提供することは可能です。そのトピックでのDiscourseチームからの返信は、なぜこれがまだ実装されていないのかを示しています。

youtube-nocookie.comドメインを使用しても、YouTubeはブラウザにトラッキングCookieを設定しますが、マーケティングに関連するCookieは設定しません。

GDPRに準拠した方法で埋め込まれたYouTube動画を実装したサイトの例をウェブで検索したところ、最良のものが見つかりました: https://www.cookietractor.com/youtube-and-vimeo-without-cookies。これはCookie管理サービスを実行している会社のものであるため、記事に偏りがある可能性があります。興味深いのはYouTube動画のデモです。試すには、ページの「your cookie settings」リンクをクリックしてページをリロードしてください。3つの可能なCookieオプションを試して、どのように処理されているかを確認する価値があります。

Discourseでも同様のものを実装できる可能性があります。DiscourseをサードパーティのCookie管理システムと統合しようとすると、問題が発生します。

これについて強い意見はなく、EUには住んでいません。サイトオーナーが懸念しており、外部サービスを使用して実装するのに苦労していることを知っているため、ここに回答しています。