Skip to content
Extraits de code Groupes Projets
Valider 91c734e4 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Avoid mixed content warning through oEmbed content

- Switch dailymotion oEmbed endpoint to https
- Accept Mixcloud https URLs
- Accept dailymotion https URLs
parent 2b413166
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
# note that 'endpoint' is the only information # note that 'endpoint' is the only information
# in OEmbed that we can trust. anything else may be spoofed! # in OEmbed that we can trust. anything else may be spoofed!
daily_motion: daily_motion:
endpoint: "http://www.dailymotion.com/services/oembed" endpoint: "https://www.dailymotion.com/services/oembed"
urls: urls:
- http://www.dailymotion.com/video/* - http://www.dailymotion.com/video/*
- https://www.dailymotion.com/video/*
twitter: twitter:
endpoint: "https://api.twitter.com/1/statuses/oembed.json" endpoint: "https://api.twitter.com/1/statuses/oembed.json"
...@@ -16,4 +17,5 @@ twitter: ...@@ -16,4 +17,5 @@ twitter:
mixcloud: mixcloud:
endpoint: "http://www.mixcloud.com/oembed/" endpoint: "http://www.mixcloud.com/oembed/"
urls: urls:
- http://www.mixcloud.com/*/* - http://www.mixcloud.com/*/*
\ No newline at end of file - https://www.mixcloud.com/*/*
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter