diff options
| author | Kieran <kieran@harkin.me> | 2024-10-15 11:15:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 11:15:54 +0100 |
| commit | 1e2f19863ca56754daa2466881eb22087a71b17d (patch) | |
| tree | 4f7be759dce290fea1d3ae10c403260b466ee16c /71.md | |
| parent | 53afaaece61f02e92b5ef9c3e9c32945c7ebf522 (diff) | |
| parent | e381b577c997b849fa544eea7dc9f08b360b4a33 (diff) | |
Merge branch 'master' into nip71-imeta
Diffstat (limited to '71.md')
| -rw-r--r-- | 71.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -2,11 +2,11 @@ NIP-71 | |||
| 2 | ====== | 2 | ====== |
| 3 | 3 | ||
| 4 | Video Events | 4 | Video Events |
| 5 | --------------- | 5 | ------------ |
| 6 | 6 | ||
| 7 | `draft` `optional` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | This specification defines video events representing a dedicated post of externally hosted content. These video events are _parameterized replaceable_ and deletable per [NIP-09](09.md). | 9 | This specification defines video events representing a dedicated post of externally hosted content. These video events are _addressable_ and delete-requestable per [NIP-09](09.md). |
| 10 | 10 | ||
| 11 | Unlike a `kind 1` event with a video attached, Video Events are meant to contain all additional metadata concerning the subject media and to be surfaced in video-specific clients rather than general micro-blogging clients. The thought is for events of this kind to be referenced in a Netflix, YouTube, or TikTok like nostr client where the video itself is at the center of the experience. | 11 | Unlike a `kind 1` event with a video attached, Video Events are meant to contain all additional metadata concerning the subject media and to be surfaced in video-specific clients rather than general micro-blogging clients. The thought is for events of this kind to be referenced in a Netflix, YouTube, or TikTok like nostr client where the video itself is at the center of the experience. |
| 12 | 12 | ||
| @@ -16,7 +16,7 @@ There are two types of video events represented by different kinds: horizontal a | |||
| 16 | 16 | ||
| 17 | #### Format | 17 | #### Format |
| 18 | 18 | ||
| 19 | The format uses a parameterized replaceable event kind `34235` for horizontal videos and `34236` for vertical videos. | 19 | The format uses an _addressable event_ kind `34235` for horizontal videos and `34236` for vertical videos. |
| 20 | 20 | ||
| 21 | The `.content` of these events is a summary or description on the video content. | 21 | The `.content` of these events is a summary or description on the video content. |
| 22 | 22 | ||
| @@ -81,7 +81,7 @@ Additionally `service nip96` may be included to allow clients to search the auth | |||
| 81 | * `p` (optional, repeated) 32-bytes hex pubkey of a participant in the video, optional recommended relay URL | 81 | * `p` (optional, repeated) 32-bytes hex pubkey of a participant in the video, optional recommended relay URL |
| 82 | * `r` (optional, repeated) references / links to web pages | 82 | * `r` (optional, repeated) references / links to web pages |
| 83 | 83 | ||
| 84 | ```json | 84 | ```jsonc |
| 85 | { | 85 | { |
| 86 | "id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>, | 86 | "id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>, |
| 87 | "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, | 87 | "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, |