Add more tags

This commit is contained in:
codytseng 2024-04-24 12:05:23 +08:00
parent 14f46d89a1
commit 9603939d2d

5
61.md
View File

@ -17,6 +17,11 @@ The `.content` of these events is the content of the danmaku comment.
The list of tags are as follows: The list of tags are as follows:
* `i` (required) universally unique identifier of the video. The format is `<platform (lowercase)>:<identity>` where `<platform>` is the platform of the video and `<identity>` is the unique identifier of the video on that platform. For example, a YouTube video with the identifier `aA-jiiepOrE` would have the identifier `youtube:aA-jiiepOrE`. * `i` (required) universally unique identifier of the video. The format is `<platform (lowercase)>:<identity>` where `<platform>` is the platform of the video and `<identity>` is the unique identifier of the video on that platform. For example, a YouTube video with the identifier `aA-jiiepOrE` would have the identifier `youtube:aA-jiiepOrE`.
* `time` (required) the time of the video when the danmaku comment is sent in seconds. * `time` (required) the time of the video when the danmaku comment is sent in seconds.
* `duration` (optional) the duration of the danmaku comment shown in seconds.
* `speed` (optional) the speed of the danmaku comment in pixels per second.
* `color` (optional) the color of the danmaku comment in hexadecimal format.
Any other styling tags are allowed. And, client implementations should ignore any tags they do not understand.
```jsonc ```jsonc
{ {