PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

add custom html element in advanced settings page of video form using plugin

Open raazkarkee405 opened this issue 3 years ago • 1 comments

Describe the problem to be solved

Description: Currently, We are able to add custom fields in the video form using the plugin settings tab. We are able to inject some HTML elements using registerVideoField. With this plugin setting utilizing storageManager, we are also able to store additional metadata for videos.

Problem: The problem with this feature is that not all but most general users are not able to utilize the form field that has been added with the plugin. They are claiming that it is unclear what the plugin settings do even if there is a description.

Describe the solution you would like

Solution: The solution for this can be to add the same feature to add custom fields in the video form (in Advanced settings tab).
Adding the custom field should be able to utilize storageManager and store the additional metadata for videos. image

raazkarkee405 avatar Aug 22 '22 04:08 raazkarkee405

Hi,

You can also add your plugin setting in the "Basic info" tab using tab: 'main' option. See https://docs.joinpeertube.org/contribute-plugins?id=add-custom-fields-to-video-form

Chocobozzz avatar Sep 09 '22 12:09 Chocobozzz