mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-26 22:21:38 +03:00
Highlights responsive embed checkbox
This commit is contained in:
parent
6a4db88e5c
commit
72d8ae7edd
@ -11,7 +11,7 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
||||||
<div class="playlist" *ngIf="playlist">
|
<div class="playlist" *ngIf="playlist">
|
||||||
<h5 i18n *ngIf="video">Share the playlist</h5>
|
<h5 *ngIf="playlist" i18n class="text-center">Share the playlist</h5>
|
||||||
|
|
||||||
<div *ngIf="isPrivatePlaylist()" class="alert-private alert alert-warning">
|
<div *ngIf="isPrivatePlaylist()" class="alert-private alert alert-warning">
|
||||||
<div i18n>This playlist is private so you won't be able to share it with external users</div>
|
<div i18n>This playlist is private so you won't be able to share it with external users</div>
|
||||||
@ -97,7 +97,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="video" *ngIf="video">
|
<div class="video" *ngIf="video">
|
||||||
<h5 *ngIf="playlist" i18n>Share the video</h5>
|
<h5 *ngIf="playlist" i18n class="text-center">Share the video</h5>
|
||||||
|
|
||||||
<div *ngIf="isPrivateVideo()" class="alert-private alert alert-warning">
|
<div *ngIf="isPrivateVideo()" class="alert-private alert alert-warning">
|
||||||
<div i18n>This video is private so you won't be able to share it with external users</div>
|
<div i18n>This video is private so you won't be able to share it with external users</div>
|
||||||
@ -185,13 +185,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" *ngIf="isInVideoEmbedTab()">
|
@if (isInVideoEmbedTab()) {
|
||||||
|
<div class="form-group">
|
||||||
<my-peertube-checkbox
|
<my-peertube-checkbox
|
||||||
inputName="onlyEmbedUrl" [(ngModel)]="customizations.onlyEmbedUrl"
|
inputName="onlyEmbedUrl" [(ngModel)]="customizations.onlyEmbedUrl"
|
||||||
i18n-labelText labelText="Only display embed URL"
|
i18n-labelText labelText="Only display embed URL"
|
||||||
></my-peertube-checkbox>
|
></my-peertube-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<my-peertube-checkbox
|
||||||
|
inputName="responsive" [(ngModel)]="customizations.responsive"
|
||||||
|
i18n-labelText labelText="Responsive embed"
|
||||||
|
></my-peertube-checkbox>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
<my-plugin-placeholder pluginId="share-modal-video-settings"></my-plugin-placeholder>
|
<my-plugin-placeholder pluginId="share-modal-video-settings"></my-plugin-placeholder>
|
||||||
|
|
||||||
<div class="advanced-filters" [ngbCollapse]="isAdvancedCustomizationCollapsed" [animation]="true">
|
<div class="advanced-filters" [ngbCollapse]="isAdvancedCustomizationCollapsed" [animation]="true">
|
||||||
@ -239,13 +248,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-container *ngIf="isInVideoEmbedTab()">
|
<ng-container *ngIf="isInVideoEmbedTab()">
|
||||||
<div class="form-group">
|
|
||||||
<my-peertube-checkbox
|
|
||||||
inputName="responsive" [(ngModel)]="customizations.responsive"
|
|
||||||
i18n-labelText labelText="Responsive embed"
|
|
||||||
></my-peertube-checkbox>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<my-peertube-checkbox
|
<my-peertube-checkbox
|
||||||
inputName="title" [(ngModel)]="customizations.title"
|
inputName="title" [(ngModel)]="customizations.title"
|
||||||
|
@ -236,7 +236,7 @@ export class VideoShareComponent {
|
|||||||
embedUrl: await this.getPlaylistEmbedUrl(),
|
embedUrl: await this.getPlaylistEmbedUrl(),
|
||||||
embedTitle: this.playlist.displayName,
|
embedTitle: this.playlist.displayName,
|
||||||
responsive,
|
responsive,
|
||||||
aspectRatio: this.video.aspectRatio
|
aspectRatio: this.video?.aspectRatio
|
||||||
},
|
},
|
||||||
'video-watch',
|
'video-watch',
|
||||||
'filter:share.video-playlist-embed-code.build.params',
|
'filter:share.video-playlist-embed-code.build.params',
|
||||||
|
Loading…
Reference in New Issue
Block a user