diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts | 7 |
1 files changed, 4 insertions, 3 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 08500ef5c..3af20ea0a 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 | |||
@@ -1,6 +1,6 @@ | |||
1 | import { SortMeta } from 'primeng/api' | 1 | import { SortMeta } from 'primeng/api' |
2 | import { switchMap } from 'rxjs/operators' | 2 | import { switchMap } from 'rxjs/operators' |
3 | import { buildVideoLink, buildVideoOrPlaylistEmbed } from 'src/assets/player/utils' | 3 | import { buildVideoEmbedLink, buildVideoOrPlaylistEmbed, decorateVideoLink } from 'src/assets/player/utils' |
4 | import { environment } from 'src/environments/environment' | 4 | import { environment } from 'src/environments/environment' |
5 | import { Component, OnInit } from '@angular/core' | 5 | import { Component, OnInit } from '@angular/core' |
6 | import { DomSanitizer } from '@angular/platform-browser' | 6 | import { DomSanitizer } from '@angular/platform-browser' |
@@ -147,8 +147,9 @@ export class VideoBlockListComponent extends RestTable implements OnInit { | |||
147 | 147 | ||
148 | getVideoEmbed (entry: VideoBlacklist) { | 148 | getVideoEmbed (entry: VideoBlacklist) { |
149 | return buildVideoOrPlaylistEmbed( | 149 | return buildVideoOrPlaylistEmbed( |
150 | buildVideoLink({ | 150 | decorateVideoLink({ |
151 | baseUrl: `${environment.originServerUrl}/videos/embed/${entry.video.uuid}`, | 151 | url: buildVideoEmbedLink(entry.video, environment.originServerUrl), |
152 | |||
152 | title: false, | 153 | title: false, |
153 | warningTitle: false | 154 | warningTitle: false |
154 | }), | 155 | }), |