feat: add support for addressable videos
This commit is contained in:
parent
cde0b49e2e
commit
65d44394a6
4 changed files with 30 additions and 8 deletions
|
|
@ -97,7 +97,12 @@ export default function Note({
|
|||
content = <AudioPlayer className="mt-2" src={event.content} />
|
||||
} else if (event.kind === ExtendedKind.PICTURE) {
|
||||
content = <PictureNote className="mt-2" event={event} />
|
||||
} else if (event.kind === ExtendedKind.VIDEO || event.kind === ExtendedKind.SHORT_VIDEO) {
|
||||
} else if (
|
||||
event.kind === ExtendedKind.VIDEO ||
|
||||
event.kind === ExtendedKind.SHORT_VIDEO ||
|
||||
event.kind === ExtendedKind.ADDRESSABLE_NORMAL_VIDEO ||
|
||||
event.kind === ExtendedKind.ADDRESSABLE_SHORT_VIDEO
|
||||
) {
|
||||
content = <VideoNote className="mt-2" event={event} />
|
||||
} else if (event.kind === ExtendedKind.RELAY_REVIEW) {
|
||||
content = <RelayReview className="mt-2" event={event} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue