peertube-theme-nctv-dark/peertube-plugin-video-annotation
2023-02-07 10:02:57 +00:00
..
assets make font size for overlays bigger and responsive 2020-09-10 10:14:00 +03:00
client Fix annotations on firefox 2020-08-24 10:12:36 +02:00
languages Fix fr locale 2020-08-21 15:24:40 +02:00
screens Fix README screens 2022-05-02 08:33:29 +02:00
.gitignore Improve link styles 2020-08-21 15:17:53 +02:00
LICENSE Add annotation plugin 2020-08-21 14:46:25 +02:00
main.js Add annotation plugin 2020-08-21 14:46:25 +02:00
package-lock.json Fix annotation homepage on npm 2021-02-17 10:55:50 +01:00
package.json Fix annotation homepage on npm 2021-02-17 10:55:50 +01:00
README.md More detailed explanation of the examples. 2023-02-07 10:02:57 +00:00
webpack.config.js Add annotation plugin 2020-08-21 14:46:25 +02:00

PeerTube video annotation

Add a field in the video form so users can set annotation to their video.

By default, the annotation will be on the top-right of the player.

Annotations format:

start --> stop
options: align=top-left (or top, top-right, right, bottom-right, bottom, bottom-left, left)
HTML
  • start (in seconds): When to show the annotation
  • stop (in seconds): When to hide the annotation
  • options: ... (this line is optional): Set options for your annotation
  • HTML: Content of your annotation

For example:

#In the first example, The text will be hidden after 4 seconds. #In the second example, The text will be displayed at second 5 and will be hidden at second 10. #In the third example, In the third example, the text will be displayed at second 12 but will not be hidden, also the text will be located at the top left of the video..

 --> 4
Hello, how are you?


5-->10
See <a href="https://cpy.re" target="_blank">this document</a> for more information


12-->
options: align=top-left
This annotation will be at the top-left of the player