mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Update 71.md
Adding segments
This commit is contained in:
parent
d53f6fba15
commit
2bd3c74002
2
71.md
2
71.md
|
@ -39,6 +39,7 @@ The list of tags are as follows:
|
||||||
* `image` (optional) url of preview image with same dimensions
|
* `image` (optional) url of preview image with same dimensions
|
||||||
* `content-warning` (optional) warning about content of NSFW video
|
* `content-warning` (optional) warning about content of NSFW video
|
||||||
* `alt` (optional) description for accessibility
|
* `alt` (optional) description for accessibility
|
||||||
|
* `segment` (optional, repeated) start timestamp in format `HH:MM:SS.sss`, end timestamp in format `HH:MM:SS.sss`, chapter/segment title, chapter thumbnail-url
|
||||||
* `t` (optional, repeated) hashtag to categorize video
|
* `t` (optional, repeated) hashtag to categorize video
|
||||||
* `p` (optional, repeated) 32-bytes hex pubkey of a participant in the video, optional recommended relay URL
|
* `p` (optional, repeated) 32-bytes hex pubkey of a participant in the video, optional recommended relay URL
|
||||||
* `r` (optional, repeated) references / links to web pages
|
* `r` (optional, repeated) references / links to web pages
|
||||||
|
@ -71,6 +72,7 @@ The list of tags are as follows:
|
||||||
["i",<torrent infohash>],
|
["i",<torrent infohash>],
|
||||||
["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"],
|
["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"],
|
||||||
["content-warning", "<reason>"],
|
["content-warning", "<reason>"],
|
||||||
|
["segment", <start>, <end>, "<title>", "<thumbnail URL>"],
|
||||||
|
|
||||||
// Participants
|
// Participants
|
||||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"],
|
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user