X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fconfig%2Fedit-custom-config%2Fedit-custom-config.component.html;h=2cf0e5fd9fe549346fd315088ae58840339043f2;hb=14571f1995e3a1868a3280b7aad5005cff051c7d;hp=ec6f879d7046a262e65278a607f677c295aaab40;hpb=e1b49ee534108ba8ac98dcb209d2efcbf1ecd678;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index ec6f879d7..2cf0e5fd9 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -2,12 +2,13 @@ - + -
Instance
- + +
INSTANCE
+
{{ formErrors.instance.shortDescription }}
@@ -29,49 +30,63 @@
{{ formErrors.instance.description }}
- - -
{{ formErrors.instance.terms }}
+ + +
+ +
- + + +
+ +
+
MODERATION & NSFW
+
- -
- -
-
{{ formErrors.instance.defaultClientRoute }}
+ + + This instance is dedicated to sensitive or NSFW content + + + + + Enabling it will allow other administrators to know that you are mainly federating sensitive content.

+ Moreover, the NSFW checkbox on video upload will be automatically checked by default. +
+
+
- + + + + + With Do not list or Blur thumbnails, a confirmation will be requested to watch the video. + + +
+
{{ formErrors.instance.creationReason }}
+
+ +
+ +
It's important to know for users who want to register on your instance
+ + +
{{ formErrors.instance.maintenanceLifetime }}
+
+ +
+ +
With your own funds? With users donations? Advertising?
+ + +
{{ formErrors.instance.businessModel }}
+
+ +
OTHER INFORMATION
+ +
+ +
2vCore 2GB RAM/or directly the link to the server you rent etc
+ + + +
{{ formErrors.instance.hardwareInformation }}
+
+ + + + + -
Theme
+
THEME AND DEFAULT ROUTE
@@ -102,39 +212,57 @@ -
Signup
+
+ +
+ +
+
{{ formErrors.instance.defaultClientRoute }}
+
+ +
SIGNUP
-
- -
- -
- -
- - -
{{ formErrors.signup.limit }}
+ + ⚠️ This functionality requires a lot of attention and extra moderation. + + + + +
+ + +
{{ formErrors.signup.limit }}
+ Signup won't be limited to a fixed number of users. +
+
+
-
Users
+
USERS
- +
@@ -239,17 +375,23 @@
-
- -
- - -
{{ formErrors.followings.instance.autoFollowIndex.indexUrl }}
+ + ⚠️ This functionality requires a lot of attention and extra moderation. + + + +
+ + +
{{ formErrors.followings.instance.autoFollowIndex.indexUrl }}
+
+
+
@@ -257,7 +399,7 @@ -
Administrator
+
ADMINISTRATORS
@@ -280,17 +422,20 @@ -
Twitter
+
TWITTER
- + + + + Indicates the Twitter account for the website or platform on which the content was published. + + +
- + + + Instance whitelisted by Twitter + + + + + If your instance is whitelisted by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.
+ If the instance is not whitelisted, we use an image link card that will redirect on your PeerTube instance.

+ Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on + https://cards-dev.twitter.com/validator + to see if you instance is whitelisted. +
+
+
@@ -317,15 +470,19 @@ -
Transcoding
+
TRANSCODING
- + + + Transcoding enabled + + + + If you disable transcoding, many videos from your users will not work! + +
@@ -334,18 +491,69 @@ + > + + Allow your users to upload .mkv, .mov, .avi and .flv videos + +
+ > + + Allow your users to upload audio files that will be merged with the preview file on upload + +
+ +
+ + + + Experimental, we suggest you to not disable webtorrent support for now + +

If you also enabled HLS support, it will multiply videos storage by 2

+ +
+ + If disabled, breaks federation with PeerTube instances < 2.1 +
+
+
+
+
+ + +
+ + + + Requires ffmpeg >= 4.1 + +

Generate HLS playlists and fragmented MP4 files resulting in a better playback than with the current default player:

+
    +
  • Resolution change is smoother
  • +
  • Faster playback in particular with long videos
  • +
  • More stable playback (less bugs/infinite loading)
  • +
+ +

If you also enabled WebTorrent support, it will multiply videos storage by 2

+
+
+
+
+
+
@@ -363,20 +571,25 @@ + > + +
+
+
-
- Cache +
+ CACHE - + + + Some files are not federated (previews, captions). We fetch them directly from the origin instance and cache them. + +
@@ -399,44 +612,51 @@
-
Customizations
+
CUSTOMIZATIONS
- + + + + Write JavaScript code directly.
Example:
console.log('my instance is amazing');
+
+
+
+ +
{{ formErrors.instance.customizations.javascript }}
- + + Write CSS code directly. Example:

+
+#custom-css {{ '{' }}
+  color: red;
+{{ '}' }}
+
Prepend with #custom-css to override styles. Example:

-
-  #custom-css .logged-in-email {{ '{' }}
-    color: red;
-  {{ '}' }}
-                    
- " - >
+
+#custom-css .logged-in-email {{ '{' }}
+  color: red;
+{{ '}' }}
+
+ + + +