Avoid mixed content warning through oEmbed content
- Switch dailymotion oEmbed endpoint to https - Accept Mixcloud https URLs - Accept dailymotion https URLs
This commit is contained in:
parent
2b41316693
commit
91c734e4fc
1 changed files with 4 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
@ -17,3 +18,4 @@ mixcloud:
|
||||||
endpoint: "http://www.mixcloud.com/oembed/"
|
endpoint: "http://www.mixcloud.com/oembed/"
|
||||||
urls:
|
urls:
|
||||||
- http://www.mixcloud.com/*/*
|
- http://www.mixcloud.com/*/*
|
||||||
|
- https://www.mixcloud.com/*/*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue