feat: add voice message support (NIP-A0) and legacy video kinds

- Add VoiceMessageRenderer for kinds 1222 (voice message) and 1244 (voice reply)
- Add compact preview components with mic icon for voice messages
- Support legacy NIP-71 video kinds 34235/34236 via existing video renderers
- Add fallback URL tag parsing for video events
- Replace music note icon with mic icon for audio embeds
- Remove border/padding from audio player for cleaner display
- Add kind metadata (names, icons) for voice and legacy video kinds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gómez
2025-12-21 20:36:53 +01:00
parent 3346a2077d
commit 6481f1e04f
14 changed files with 821 additions and 19 deletions

View File

@@ -1343,6 +1343,20 @@ export const EVENT_KINDS: Record<number | string, EventKind> = {
// nip: "",
// icon: AppWindow,
// },
34235: {
kind: 34235,
name: "Video",
description: "Horizontal Video (legacy)",
nip: "71",
icon: Video,
},
34236: {
kind: 34236,
name: "Short Video",
description: "Vertical Video (legacy)",
nip: "71",
icon: Video,
},
34550: {
kind: 34550,
name: "Community",