diff --git a/src/hooks/useContentProtection.ts b/src/hooks/useContentProtection.ts index 652ee57b0..ef0e1a64e 100644 --- a/src/hooks/useContentProtection.ts +++ b/src/hooks/useContentProtection.ts @@ -24,7 +24,7 @@ const useContentProtection = ( })); const host = signingConfig?.host; const drmPolicyId = contentProtection?.drm?.defaultPolicyId ?? signingConfig?.drmPolicyId; - const signingEnabled = !!urlSigning; + const signingEnabled = !!urlSigning || !!host || (!!drmPolicyId && !host); const { data: token, isLoading } = useQuery( ['token', type, id, params],