<ng-template ngbNavContent>
<div class="nav-content">
- <qrcode [qrdata]="getPlaylistUrl()" [size]="256" level="Q"></qrcode>
+ <qrcode [qrdata]="getPlaylistUrl()" [width]="256" level="Q"></qrcode>
</div>
</ng-template>
</ng-container>
<ng-template ngbNavContent>
<div class="nav-content">
- <qrcode [qrdata]="getVideoUrl()" [size]="256" level="Q"></qrcode>
+ <qrcode [qrdata]="getVideoUrl()" [width]="256" level="Q"></qrcode>
</div>
</ng-template>
</ng-container>
></my-peertube-checkbox>
</div>
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="embedP2P" [(ngModel)]="customizations.embedP2P"
+ i18n-labelText labelText="P2P"
+ ></my-peertube-checkbox>
+ </div>
+
<div class="form-group">
<my-peertube-checkbox
inputName="warningTitle" [(ngModel)]="customizations.warningTitle"
- i18n-labelText labelText="Display privacy warning"
+ i18n-labelText labelText="Display privacy warning" [disabled]="!customizations.embedP2P"
></my-peertube-checkbox>
</div>
<div class="form-group">
<my-peertube-checkbox
- inputName="controls" [(ngModel)]="customizations.peertubeLink"
+ inputName="peertubeLink" [(ngModel)]="customizations.peertubeLink"
i18n-labelText labelText="Display PeerTube button link"
></my-peertube-checkbox>
</div>