inputName="importVideosHttpEnabled" formControlName="enabled"
i18n-labelText labelText="Allow import with HTTP URL (e.g. YouTube)"
>
- <ng-container ngProjectAs="description">
- <span i18n>⚠️ If enabled, we recommend to use <a class="link-orange" href="https://docs.joinpeertube.org/maintain-configuration?id=security">a HTTP proxy</a> to prevent private URL access from your PeerTube server</span>
- </ng-container>
- </my-peertube-checkbox>
+ <ng-container ngProjectAs="description">
+ <span i18n>⚠️ If enabled, we recommend to use <a class="link-orange" href="https://docs.joinpeertube.org/maintain-configuration?id=security">a HTTP proxy</a> to prevent private URL access from your PeerTube server</span>
+ </ng-container>
+ </my-peertube-checkbox>
</div>
<div class="form-group" formGroupName="torrent">
</div>
</ng-container>
+
+ <ng-container formGroupName="videoChannelSynchronization">
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="importSynchronizationEnabled" formControlName="enabled"
+ i18n-labelText labelText="Allow channel synchronization with channel of other platforms like YouTube (requires allowing import with HTTP URL)"
+ >
+ <ng-container ngProjectAs="description">
+ <span i18n [hidden]="isImportVideosHttpEnabled()">
+ ⛔ You need to allow import with HTTP URL to be able to activate this feature.
+ </span>
+ </ng-container>
+ </my-peertube-checkbox>
+ </div>
+ </ng-container>
+
</ng-container>
<ng-container formGroupName="autoBlacklist">