Skip to content

Commit

Permalink
Add support for embedding SRF content
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Aug 27, 2024
1 parent fd7f3c0 commit 15cffff
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit 15cffff

Please sign in to comment.