FriendsOfFlarum / formatting

Customize TextFormatter with plugins through the admin interface
MIT License
22 stars 10 forks source link

Youtube privacy #31

Open imorland opened 3 years ago

imorland commented 3 years ago

Modifies the Youtube embed template to render youtube-nocookie.com in place of youtube.com, for privacy focussed reasons.

However, we need to consider:

Anyhow, I'll leave this here for a while to gather comments, opinions, etc

clarkwinkelmann commented 3 years ago

Do other of the embed websites could do with such a change?

Maybe this would be better as a standalone extension that changes multiple embeds and/or other Flarum features to a strict privacy mode.

Just looking at the PR code I was wondering, if someone wanted to disable youtube embeds completely, does the code now prevent it or not? Assuming there's some kind of remove method that they might call from extend.php. I just wonder if adding it explicitly prevents local extend.php or other extensions from disabling it.