mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
Allow youtube-nocookie.com for embedded youtube videos #422
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @peterdongan on GitHub (Jan 17, 2021).
This is a great project.
I was wondering if you might add support for youtube-nocookie.com for embedded videos?
Embedded YouTube videos set a number of tracking cookies when the page is opened when the default URI. However if you use youtube-nocookie then it doesn't set these tracking cookies. This is to facilitate compliance with GDPR regulations in the EU.
@xoofx commented on GitHub (Jan 17, 2021):
This is what I get when accessing github-nocookie.com on https, doesn't look like mainstream:
You can do that on your own in your project by implementing a
IHostProviderwith the medialink extension, so there is no need to add a specific handling for this provider.@peterdongan commented on GitHub (Jan 17, 2021):
Thanks. I'll do that.
Yeah I was confused by that too. It's official though - it's just only provided for the purpose I suggested here. You can access it on youtube by selecting Share -> Embed and selecting Enable enhanced-privacy mode.