Fix GIFs on iOS

This commit is contained in:
dangered wolf 2024-08-04 10:42:49 -07:00
parent b09e5909a2
commit 966ffd0ece
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -62,7 +62,9 @@ export const renderVideo = (
`https://${Constants.GIF_TRANSCODE_DOMAIN}`
);
console.log('We passed checks for transcoding GIFs, feeding embed url', url);
} else if (
}
if (
userAgent?.includes('Discord') &&
experimentCheck(Experiment.DISCORD_VIDEO_REDIRECT_WORKAROUND, !!Constants.API_HOST_LIST)
) {