Support adding custom video privacy #6299
Labels
Component: PeerTube Plugin 📦
Features that can be developed in a plugin, but require PeerTube plugin API development
Type: Feature Request ✨
Describe the current behavior
No response
Steps to reproduce
videoPrivacyManager.addConstant(544, 'Super secret')
Unknown video privacy 544 to know if the video requires auth
Describe the expected behavior
Extend the video privacy API like:
Or a solution that would fit our case much better:
In the latter case the plugin author can choose to return another video, but I assume this won't fit into the current structure. The same functionality would be possible to solve by using a filter hook.
Additional information
PeerTube instance:
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/
):The text was updated successfully, but these errors were encountered: