feat: improve addressable video (kind 34235/34236) display with title and hashtags

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
codytseng 2026-04-04 16:30:48 +08:00
parent b00ff341c8
commit 4fb40e81b3
4 changed files with 55 additions and 2 deletions

View file

@ -83,7 +83,12 @@ export default function ContentPreview({
return <LongFormArticlePreview event={event} className={className} />
}
if (event.kind === ExtendedKind.VIDEO || event.kind === ExtendedKind.SHORT_VIDEO) {
if (
event.kind === ExtendedKind.VIDEO ||
event.kind === ExtendedKind.SHORT_VIDEO ||
event.kind === ExtendedKind.ADDRESSABLE_NORMAL_VIDEO ||
event.kind === ExtendedKind.ADDRESSABLE_SHORT_VIDEO
) {
return <VideoNotePreview event={event} className={className} />
}