Allow iframes pointing to Twitch videos
Docs: https://dev.twitch.tv/docs/embed/video-and-clips/#non-interactive-inline-frames-for-live-streams-and-vods
This commit is contained in:
parent
a1537f4b0d
commit
257e8c4761
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,7 @@ func isValidIframeSource(baseURL, src string) bool {
|
|||
"https://bandcamp.com",
|
||||
"https://cdn.embedly.com",
|
||||
"https://player.bilibili.com",
|
||||
"https://player.twitch.tv",
|
||||
}
|
||||
|
||||
// allow iframe from same origin
|
||||
|
|
Loading…
Reference in a new issue