diff --git a/app/actions/ModActionPanel/QuickAction.tsx b/app/actions/ModActionPanel/QuickAction.tsx
index b31f7b6..fdf5e69 100644
--- a/app/actions/ModActionPanel/QuickAction.tsx
+++ b/app/actions/ModActionPanel/QuickAction.tsx
@@ -596,7 +596,10 @@ function Form(
-
+
{showLabels &&
}
{!!controls?.length && (
@@ -242,8 +248,10 @@ const getImageSizeClass = (imageCount: number) =>
export function PostEmbeds({
item,
+ isAuthorTakendown,
isAuthorDeactivated,
}: {
+ isAuthorTakendown?: boolean
isAuthorDeactivated?: boolean
item: AppBskyFeedDefs.FeedViewPost
}) {
@@ -265,10 +273,12 @@ export function PostEmbeds({
const captions = item.post.record?.['embed']?.['captions']
const sourceUrl = getVideoUrlWithFallback(embed.playlist, {
isAuthorDeactivated,
+ isAuthorTakendown,
})
const thumbnailUrl = embed.thumbnail
? getVideoUrlWithFallback(embed.thumbnail, {
isAuthorDeactivated,
+ isAuthorTakendown,
})
: undefined
return (
diff --git a/components/common/video/helpers.ts b/components/common/video/helpers.ts
index fb10aef..a3bf18f 100644
--- a/components/common/video/helpers.ts
+++ b/components/common/video/helpers.ts
@@ -2,14 +2,14 @@ import { FALLBACK_VIDEO_URL } from '@/lib/constants'
export const getVideoUrlWithFallback = (
originalUri: string,
- opts?: { isAuthorDeactivated?: boolean },
+ opts?: { isAuthorDeactivated?: boolean; isAuthorTakendown?: boolean },
): string => {
const [find, replace] = FALLBACK_VIDEO_URL
if (!find || !replace) {
return originalUri
}
- if (!opts?.isAuthorDeactivated) {
+ if (!opts?.isAuthorDeactivated && !opts?.isAuthorTakendown) {
return originalUri
}