i18n-labelText labelText="Allow users to do remote URI/handle search"
>
<ng-container ngProjectAs="description">
- <span i18n>Allow <strong>your users</strong> to look up remote videos/actors by their URI, that may not be federated with your instance</span>
+ <span i18n>Allow <strong>your users</strong> to look up remote videos/actors that may not be federated with your instance</span>
</ng-container>
</my-peertube-checkbox>
</div>
i18n-labelText labelText="Allow anonymous to do remote URI/handle search"
>
<ng-container ngProjectAs="description">
- <span i18n>Allow <strong>anonymous users</strong> to look up remote videos/actors by their URI, that may not be federated with your instance</span>
+ <span i18n>Allow <strong>anonymous users</strong> to look up remote videos/actors that may not be federated with your instance</span>
</ng-container>
</my-peertube-checkbox>
</div>
<ng-template ptTemplate="help">
<ng-container i18n>
If your instance is explicitly allowed by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.<br />
- If the instance is not, we use an image link card that will redirect on your PeerTube instance.<br /><br />
+ If the instance is not, we use an image link card that will redirect to your PeerTube instance.<br /><br />
Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on
<a target='_blank' rel='noopener noreferrer' href='https://cards-dev.twitter.com/validator'>https://cards-dev.twitter.com/validator</a>
to see if you instance is allowed.
<div class="form-group col-12 col-lg-4 col-xl-3">
<div i18n class="inner-form-title">LIVE</div>
<div i18n class="inner-form-description">
- Add ability for your users to do live streaming on your instance.
+ Enable users of your instance to stream live.
</div>
</div>
</my-peertube-checkbox>
</div>
+ <div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }">
+ <label i18n for="liveMaxInstanceLives">Max lives created on your instance (-1 for "unlimited")</label>
+ <input type="number" name="liveMaxInstanceLives" formControlName="maxInstanceLives" />
+ </div>
+
+ <div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }">
+ <label i18n for="liveMaxUserLives">Max lives created per user (-1 for "unlimited")</label>
+ <input type="number" name="liveMaxUserLives" formControlName="maxUserLives" />
+ </div>
+
<div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }">
<label i18n for="liveMaxDuration">Max live duration</label>
<div class="peertube-select-container">