2021-04-01 09:10:27 +00:00
|
|
|
<div class="root">
|
2019-03-07 16:06:00 +00:00
|
|
|
|
2021-04-01 09:10:27 +00:00
|
|
|
<div class="playlist-info">
|
2019-03-14 13:05:36 +00:00
|
|
|
<my-video-playlist-miniature
|
|
|
|
*ngIf="playlist" [playlist]="playlist" [toManage]="false" [displayChannel]="true"
|
|
|
|
[displayDescription]="true" [displayPrivacy]="true"
|
|
|
|
></my-video-playlist-miniature>
|
2020-08-07 14:29:30 +00:00
|
|
|
|
|
|
|
<div class="playlist-buttons">
|
|
|
|
<button (click)="showShareModal()" class="action-button share-button">
|
|
|
|
<my-global-icon iconName="share" aria-hidden="true"></my-global-icon>
|
|
|
|
<span class="icon-text" i18n>Share</span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<my-action-dropdown
|
|
|
|
*ngIf="isRegularPlaylist(playlist)"
|
|
|
|
[entry]="playlist" [actions]="playlistActions" label="More"
|
|
|
|
></my-action-dropdown>
|
|
|
|
</div>
|
|
|
|
|
2019-03-14 13:05:36 +00:00
|
|
|
</div>
|
|
|
|
|
2021-04-01 09:10:27 +00:00
|
|
|
<div class="playlist-elements">
|
2020-08-07 14:29:30 +00:00
|
|
|
<div class="no-results" *ngIf="pagination.totalItems === 0">
|
|
|
|
<div i18n>No videos in this playlist.</div>
|
|
|
|
|
|
|
|
<div i18n>
|
|
|
|
Browse videos on PeerTube to add them in your playlist.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div i18n>
|
2021-02-12 09:12:19 +00:00
|
|
|
See the <a target="_blank" href="https://docs.joinpeertube.org/use-library?id=playlist">documentation</a> for more information.
|
2020-08-07 14:29:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-14 13:05:36 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
class="videos" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()"
|
2019-08-02 12:49:25 +00:00
|
|
|
cdkDropList (cdkDropListDropped)="drop($event)" [dataObservable]="onDataSubject.asObservable()"
|
2019-03-14 13:05:36 +00:00
|
|
|
>
|
2019-10-23 16:12:22 +00:00
|
|
|
<div class="video" *ngFor="let playlistElement of playlistElements; trackBy: trackByFn" cdkDrag [cdkDragStartDelay]="getDragStartDelay()">
|
2019-03-14 13:05:36 +00:00
|
|
|
<my-video-playlist-element-miniature
|
2019-07-31 13:57:32 +00:00
|
|
|
[playlistElement]="playlistElement" [playlist]="playlist" [owned]="true" (elementRemoved)="onElementRemoved($event)"
|
|
|
|
[position]="playlistElement.position"
|
2019-03-14 13:05:36 +00:00
|
|
|
>
|
|
|
|
</my-video-playlist-element-miniature>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-07 16:06:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-07 14:29:30 +00:00
|
|
|
|
|
|
|
<my-video-share #videoShareModal [playlist]="playlist"></my-video-share>
|