Remove KLIPY from external media settings (#10496)

This commit is contained in:
Eric Bailey
2026-05-15 10:54:42 -05:00
committed by GitHub
parent e52b7df39b
commit b41dbec48f
3 changed files with 21 additions and 5 deletions
+9
View File
@@ -65,6 +65,15 @@ export const externalEmbedLabels: Record<EmbedPlayerSource, string> = {
bandcamp: 'Bandcamp',
}
/**
* These sources are proxied through our CDN and do not leak any user data,
* thus are safe to embed without a warning.
*/
export const exemptExternalEmbedSources = new Set<EmbedPlayerSource>([
'tenor',
'klipy',
])
export interface EmbedPlayerParams {
type: EmbedPlayerType
playerUri: string