Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for embedding SRF content #36

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion feincms3_cookiecontrol/embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from django.utils.html import format_html
from django.utils.text import slugify
from django.utils.translation import pgettext, pgettext_lazy
from feincms3.embedding import embed_vimeo, embed_youtube
from feincms3.embedding import embed_vimeo, embed_youtube, embed_srf


__all__ = ["embed", "wrap"]
Expand All @@ -22,6 +22,11 @@
"title": "Vimeo",
"privacy_policy_url": "https://vimeo.com/privacy",
},
"srf": {
"handler": embed_srf,
"title": "SRF",
"privacy_policy_url": "https://www.srf.ch/rechtliches-datenschutzerklaerung",
},
"google": {
"handler": None,
"title": "Google",
Expand Down
Loading