From 951b582f52d0694865f020f0e53ccfad2d2d6033 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Aug 2020 13:43:48 +0200 Subject: Add ability to share playlists in modal --- .../+admin/moderation/video-block-list/video-block-list.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+admin') 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' import { VideoBlockService } from '@app/shared/shared-moderation' import { I18n } from '@ngx-translate/i18n-polyfill' import { VideoBlacklist, VideoBlacklistType } from '@shared/models' -import { buildVideoEmbed, buildVideoLink } from 'src/assets/player/utils' +import { buildVideoOrPlaylistEmbed, buildVideoLink } from 'src/assets/player/utils' import { environment } from 'src/environments/environment' import { DomSanitizer } from '@angular/platform-browser' @@ -176,7 +176,7 @@ export class VideoBlockListComponent extends RestTable implements OnInit, AfterV } getVideoEmbed (entry: VideoBlacklist) { - return buildVideoEmbed( + return buildVideoOrPlaylistEmbed( buildVideoLink({ baseUrl: `${environment.embedUrl}/videos/embed/${entry.video.uuid}`, title: false, -- cgit v1.2.3