diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-07 13:43:48 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-07 13:43:48 +0200 |
commit | 951b582f52d0694865f020f0e53ccfad2d2d6033 (patch) | |
tree | e82f6eaf08a2add25a7807135a5b2351819ab3a0 /client/src/app/+admin | |
parent | 4891e4c77b72ac5a2f9d3d761a71eebe26d81357 (diff) | |
download | PeerTube-951b582f52d0694865f020f0e53ccfad2d2d6033.tar.gz PeerTube-951b582f52d0694865f020f0e53ccfad2d2d6033.tar.zst PeerTube-951b582f52d0694865f020f0e53ccfad2d2d6033.zip |
Add ability to share playlists in modal
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts index 3242bcf46..422d873c0 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts | |||
@@ -7,7 +7,7 @@ import { DropdownAction, Video, VideoService } from '@app/shared/shared-main' | |||
7 | import { VideoBlockService } from '@app/shared/shared-moderation' | 7 | import { VideoBlockService } from '@app/shared/shared-moderation' |
8 | import { I18n } from '@ngx-translate/i18n-polyfill' | 8 | import { I18n } from '@ngx-translate/i18n-polyfill' |
9 | import { VideoBlacklist, VideoBlacklistType } from '@shared/models' | 9 | import { VideoBlacklist, VideoBlacklistType } from '@shared/models' |
10 | import { buildVideoEmbed, buildVideoLink } from 'src/assets/player/utils' | 10 | import { buildVideoOrPlaylistEmbed, buildVideoLink } from 'src/assets/player/utils' |
11 | import { environment } from 'src/environments/environment' | 11 | import { environment } from 'src/environments/environment' |
12 | import { DomSanitizer } from '@angular/platform-browser' | 12 | import { DomSanitizer } from '@angular/platform-browser' |
13 | 13 | ||
@@ -176,7 +176,7 @@ export class VideoBlockListComponent extends RestTable implements OnInit, AfterV | |||
176 | } | 176 | } |
177 | 177 | ||
178 | getVideoEmbed (entry: VideoBlacklist) { | 178 | getVideoEmbed (entry: VideoBlacklist) { |
179 | return buildVideoEmbed( | 179 | return buildVideoOrPlaylistEmbed( |
180 | buildVideoLink({ | 180 | buildVideoLink({ |
181 | baseUrl: `${environment.embedUrl}/videos/embed/${entry.video.uuid}`, | 181 | baseUrl: `${environment.embedUrl}/videos/embed/${entry.video.uuid}`, |
182 | title: false, | 182 | title: false, |