Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the video-annotation plugin #6873

Closed
aflamrip opened this issue Feb 5, 2025 · 1 comment
Closed

About the video-annotation plugin #6873

aflamrip opened this issue Feb 5, 2025 · 1 comment

Comments

@aflamrip
Copy link

aflamrip commented Feb 5, 2025

Describe the current behavior

I didn't get any answer in the support forum
https://framacolibri.org/c/peertube/38
so I decided to write here

I have used the video-annotation plugin and in the plugin settings there is this option

Disable XSS prevention security

Only enable this option if you know what it means and if you trust all your users: they will be able to inject JavaScript in the player

What I understood is that when this option is enabled and it is enabled by default, it is supposed to allow JavaScript code to be injected into the player

I tried to add JavaScript code in the video settings but it does not work. What is the way to add JavaScript code correctly in the video settings

Steps to reproduce

1.Install peertube instance
2.Install the video-annotation plugin.
3.Try adding JavaScript code to a video.

Describe the expected behavior

When you enable Disable XSS prevention security, it is supposed to allow adding JavaScript code to the video, but there is no explanation of how to add the code. I tried more than one way to add the JavaScript code, but it does not work.

Additional information

  • PeerTube instance:

    • URL:
    • Version:
    • NodeJS version:
    • Ffmpeg version:
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):

@Chocobozzz
Copy link
Owner

Hello,

Please use the forum even if you don't have answers, github issues are dedicated to bugs and feature requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants